Skip to content

Commit

Permalink
springside#525 加强Utils Modules模块 JDK最小版本升级到1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin1978 committed Jan 6, 2017
1 parent ffdba80 commit 97d67e0
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 662 deletions.
2 changes: 1 addition & 1 deletion modules/utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<!-- Plugin的属性 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.6</java.version>
<java.version>1.7</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* @author calvin
*/
public class Platforms {

public static final String UTF_8 = "UTF-8";

// 文件路径分隔符
public static final String FILE_PATH_SEPARATOR = File.separator;
Expand All @@ -21,7 +23,7 @@ public class Platforms {
public static final String CLASS_PATH_SEPARATOR = File.pathSeparator;
public static final char CLASS_PATH_SEPARATOR_CHAR = File.pathSeparatorChar;

// 换行符, JDK7可使用System.lineSeparator()
// 换行符
public static final String LINE_SEPARATOR = SystemUtils.LINE_SEPARATOR;

// 临时目录
Expand Down
Loading

0 comments on commit 97d67e0

Please sign in to comment.