make/tools/CompileProperties/CompilePropertiesTask.java

changeset 465
f983c1dca202
parent 1
9a66ca7c79fa
child 554
9d9f26857129
     1.1 --- a/make/tools/CompileProperties/CompilePropertiesTask.java	Mon Jan 11 14:05:21 2010 -0800
     1.2 +++ b/make/tools/CompileProperties/CompilePropertiesTask.java	Mon Jan 11 14:09:15 2010 -0800
     1.3 @@ -45,6 +45,7 @@
     1.4          this.superclass = superclass;
     1.5      }
     1.6  
     1.7 +    @Override
     1.8      public void execute() {
     1.9          CompileProperties.Log log = new CompileProperties.Log() {
    1.10              public void error(String msg, Exception e) {
    1.11 @@ -84,7 +85,7 @@
    1.12              log("Generating " + count + " resource files to " + destDir, Project.MSG_INFO);
    1.13              CompileProperties cp = new CompileProperties();
    1.14              cp.setLog(log);
    1.15 -            boolean ok = cp.run((String[])mainOpts.toArray(new String[mainOpts.size()]));
    1.16 +            boolean ok = cp.run(mainOpts.toArray(new String[mainOpts.size()]));
    1.17              if (!ok)
    1.18                  throw new BuildException("CompileProperties failed.");
    1.19          }

mercurial