Skip to content

Commit

Permalink
Merge pull request russellallen#14 from doublec/pep
Browse files Browse the repository at this point in the history
Fix bitrot in applications/pep
  • Loading branch information
russellallen committed Oct 21, 2014
2 parents 6e7d2ba + cb51321 commit 2d189d4
Show file tree
Hide file tree
Showing 6 changed files with 270 additions and 189 deletions.
3 changes: 2 additions & 1 deletion objects/applications/pep/PepTest.java
Expand Up @@ -1125,8 +1125,9 @@ void timeDateToString() {
System.out.print("Timing java.util.Date::toString: ");
long t1 = System.currentTimeMillis();
java.util.Date now = new java.util.Date();
for (int i = 0; i < 50; i++)
for (int i = 0; i < 50; i++) {
String s = now.toString();
}
long t2 = System.currentTimeMillis();
System.out.println("" + (t2 - t1) + " ms");
}
Expand Down
6 changes: 6 additions & 0 deletions objects/applications/pep/SimpleTest1.java
@@ -0,0 +1,6 @@
class SimpleTest1 {
public static void main(String[] args) {
System.out.println("Hello");
}
}

6 changes: 6 additions & 0 deletions objects/applications/pep/SimpleTest2.java
@@ -0,0 +1,6 @@
public class SimpleTest2 {
public static void main(String[] args) {
int x = Integer.parseInt(args[1]);
}
}

0 comments on commit 2d189d4

Please sign in to comment.