aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject aurora git commit: Remove static modifier from test case.
Date Thu, 25 Jun 2015 20:46:02 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 58514e749 -> d977aa475


Remove static modifier from test case.

Remove static modifier from test case, which was introduced in the
last revision to https://reviews.apache.org/r/35842/

This fixes

[ant:checkstyle]
/home/ksweeney/workspace/aurora/src/test/java/org/apache/aurora/GuavaUtilsTest.java:23:1:
Utility classes should not have a public or default constructor.

Testing Done:
./gradlew -Pq build

Reviewed at https://reviews.apache.org/r/35886/


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

Branch: refs/heads/master
Commit: d977aa4754cfecf6620244234e3d604c98669eca
Parents: 58514e7
Author: Kevin Sweeney <kevints@apache.org>
Authored: Thu Jun 25 13:45:54 2015 -0700
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Thu Jun 25 13:45:54 2015 -0700

----------------------------------------------------------------------
 src/test/java/org/apache/aurora/GuavaUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/d977aa47/src/test/java/org/apache/aurora/GuavaUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/aurora/GuavaUtilsTest.java b/src/test/java/org/apache/aurora/GuavaUtilsTest.java
index 065a4ba..09bc4e3 100644
--- a/src/test/java/org/apache/aurora/GuavaUtilsTest.java
+++ b/src/test/java/org/apache/aurora/GuavaUtilsTest.java
@@ -22,7 +22,7 @@ import static org.junit.Assert.assertEquals;
 
 public class GuavaUtilsTest {
   @Test
-  public static void testToImmutableSet() {
+  public void testToImmutableSet() {
     assertEquals(
         ImmutableSet.of("b", "c", "a"),
         ImmutableList.of("a", "b", "c").stream().collect(GuavaUtils.toImmutableSet()));


Mime
View raw message