| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,8 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | 15 | <properties> | |
| 16 | 16 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| 17 | - <maven.compiler.source>1.7</maven.compiler.source> | ||
| 18 | - <maven.compiler.target>1.7</maven.compiler.target> | ||
| 17 | + <maven.compiler.source>1.6</maven.compiler.source> | ||
| 18 | + <maven.compiler.target>1.6</maven.compiler.target> | ||
| 19 | 19 | </properties> | |
| 20 | 20 | ||
| 21 | 21 | <dependencies> | |
@@ -96,15 +96,5 @@ | |||
| 96 | 96 | </plugin> | |
| 97 | 97 | </plugins> | |
| 98 | 98 | </pluginManagement> | |
| 99 | - <plugins> | ||
| 100 | - <plugin> | ||
| 101 | - <groupId>org.apache.maven.plugins</groupId> | ||
| 102 | - <artifactId>maven-compiler-plugin</artifactId> | ||
| 103 | - <configuration> | ||
| 104 | - <source>7</source> | ||
| 105 | - <target>7</target> | ||
| 106 | - </configuration> | ||
| 107 | - </plugin> | ||
| 108 | - </plugins> | ||
| 109 | 99 | </build> | |
| 110 | 100 | </project> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ public static void main(String[] args) throws Exception { | |||
| 43 | 43 | Templates proxy = (Templates) Proxy.newProxyInstance(JDK7u21.class.getClassLoader(), new Class[]{Templates.class}, tempHandler); | |
| 44 | 44 | ||
| 45 | 45 | // 实例化HashSet,并将两个对象放进去 | |
| 46 | - HashSet set = new HashSet(); // maintain order | ||
| 46 | + HashSet set = new LinkedHashSet(); | ||
| 47 | 47 | set.add(templates); | |
| 48 | 48 | set.add(proxy); | |
| 49 | 49 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments