You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@reef.apache.org by af...@apache.org on 2015/11/23 19:29:41 UTC

incubator-reef git commit: [REEF-1001] Replace deprecated junit.framework.Assert with org.junit.Assert

Repository: incubator-reef
Updated Branches:
  refs/heads/master 8dbce4708 -> b795ae059


[REEF-1001] Replace deprecated junit.framework.Assert with org.junit.Assert

Since JUnit 4.0, junit.framework.Assert is replaced with org.junit.Assert.
This PR replaces the existing `import` statement of junit.framework.Assert.

JIRA:
  [REEF-1001](https://issues.apache.org/jira/browse/REEF-1001)

Pull Request:
  This closes #670


Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/b795ae05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/b795ae05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/b795ae05

Branch: refs/heads/master
Commit: b795ae0590e0d144c3f4363c2fdbcd0eca454f1e
Parents: 8dbce47
Author: Dongjoon Hyun <do...@apache.org>
Authored: Sat Nov 21 18:31:27 2015 +0900
Committer: Andrew Chung <af...@gmail.com>
Committed: Mon Nov 23 10:29:09 2015 -0800

----------------------------------------------------------------------
 .../test/java/org/apache/reef/tang/formats/TestCommandLine.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/b795ae05/lang/java/reef-tang/tang/src/test/java/org/apache/reef/tang/formats/TestCommandLine.java
----------------------------------------------------------------------
diff --git a/lang/java/reef-tang/tang/src/test/java/org/apache/reef/tang/formats/TestCommandLine.java b/lang/java/reef-tang/tang/src/test/java/org/apache/reef/tang/formats/TestCommandLine.java
index 03bbe95..4425420 100644
--- a/lang/java/reef-tang/tang/src/test/java/org/apache/reef/tang/formats/TestCommandLine.java
+++ b/lang/java/reef-tang/tang/src/test/java/org/apache/reef/tang/formats/TestCommandLine.java
@@ -18,13 +18,13 @@
  */
 package org.apache.reef.tang.formats;
 
-import junit.framework.Assert;
 import org.apache.commons.cli.ParseException;
 import org.apache.reef.tang.Configuration;
 import org.apache.reef.tang.ConfigurationBuilder;
 import org.apache.reef.tang.Tang;
 import org.apache.reef.tang.exceptions.BindException;
 import org.apache.reef.tang.exceptions.InjectionException;
+import org.junit.Assert;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.rules.ExpectedException;