Skip to content

Commit 4c834b2

Browse files
committed
Update core and Update Settings' value to Generic type
1 parent 9b55dba commit 4c834b2

File tree

5 files changed

+2
-2
lines changed

5 files changed

+2
-2
lines changed
70 Bytes
Binary file not shown.
294 Bytes
Binary file not shown.

WEB-INF/lib/struct-2.0.jar

476 Bytes
Binary file not shown.

build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project name="tinystruct-example" default="test">
33
<property name="application.name" value="examples" />
44
<property name="application.version" value="1.0" />
5-
<property name="webapps.dir" value="examples-1.0"></property>
5+
<property name="webapps.dir" value="."></property>
66
<property name="dist.dir" value="${webapps.dir}/dist" />
77
<property name="build.sourcelevel" value="1.5" />
88

src/tinystruct/examples/hello.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void main(String[] args) throws ApplicationException, Instantiatio
6666
// Use ClassFileLoader to load Java class
6767
ClassFileLoader loader = ClassFileLoader.getInstance();
6868

69-
Configuration config = new Settings("/application.properties");
69+
Configuration<String> config = new Settings("/application.properties");
7070
config.set("default.apps.path", "WEB-INF/classes");
7171
config.set("default.apps.package", "tinystruct.examples");
7272

0 commit comments

Comments
 (0)