flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject [3/4] flink git commit: [tez] remove unused hash variable
Date Sun, 01 Nov 2015 20:04:34 GMT
[tez] remove unused hash variable

- Prevents crashing of IntelliJ Checkstyle plugin


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/0ffe9dcb
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/0ffe9dcb
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/0ffe9dcb

Branch: refs/heads/master
Commit: 0ffe9dcba7d3ff92ae152c3599b413a37ea0f47e
Parents: d662ede
Author: Maximilian Michels <mxm@apache.org>
Authored: Fri Oct 30 15:41:48 2015 +0100
Committer: Maximilian Michels <mxm@apache.org>
Committed: Sun Nov 1 20:57:40 2015 +0100

----------------------------------------------------------------------
 .../main/resources/archetype-resources/src/main/java/Driver.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/0ffe9dcb/flink-quickstart/flink-tez-quickstart/src/main/resources/archetype-resources/src/main/java/Driver.java
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-tez-quickstart/src/main/resources/archetype-resources/src/main/java/Driver.java
b/flink-quickstart/flink-tez-quickstart/src/main/resources/archetype-resources/src/main/java/Driver.java
index 5431849..f72eb22 100644
--- a/flink-quickstart/flink-tez-quickstart/src/main/resources/archetype-resources/src/main/java/Driver.java
+++ b/flink-quickstart/flink-tez-quickstart/src/main/resources/archetype-resources/src/main/java/Driver.java
@@ -1,5 +1,3 @@
-#set($hash = '#')
-
 package ${package};
 
 /*
@@ -36,7 +34,7 @@ import java.util.Set;
 
 public class Driver {
 
-	private static final DecimalFormat formatter = new DecimalFormat("${hash}${hash}${hash}.${hash}${hash}%");
+	private static final DecimalFormat formatter = new DecimalFormat("###.##%");
 
 	public static void main(String [] args){
 		int exitCode = -1;


Mime
View raw message