Permalink
Browse files

GoogleCheese.java uses for-each loop

GoogleCheese.java:[50,32] for-each loops are not supported in -source 1.3
(use -source 5 or higher to enable for-each loops)
            for (int driverType : new int[]{0, 1, 2}) {
  • Loading branch information...
1 parent 65103b5 commit 6c3f928e6ee663e135c522901597ba1b508a3f88 @kzys kzys committed Apr 24, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 examples/google_cheese/pom.xml
@@ -31,4 +31,17 @@
<version>2.20.0</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>5</source>
+ <target>5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>

0 comments on commit 6c3f928

Please sign in to comment.