groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch master updated: Trivial refactoring: Move test class
Date Fri, 27 Dec 2019 16:57:59 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new ff8c50f  Trivial refactoring: Move test class
ff8c50f is described below

commit ff8c50fbea0f4b14ad9f9b830b91fceb9a8b30f4
Author: Daniel Sun <sunlan@apache.org>
AuthorDate: Sat Dec 28 00:57:34 2019 +0800

    Trivial refactoring: Move test class
---
 .../concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java       | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
b/src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
similarity index 86%
rename from src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
rename to src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
index c29f46e..e756866 100644
--- a/src/test/org/apache/groovy/util/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
+++ b/src/test/org/apache/groovy/util/concurrent/concurrentlinkedhashmap/ConcurrentLinkedHashMapTest.java
@@ -17,9 +17,8 @@
  *  under the License.
  */
 
-package org.apache.groovy.util.concurrentlinkedhashmap;
+package org.apache.groovy.util.concurrent.concurrentlinkedhashmap;
 
-import org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap;
 import org.junit.Test;
 
 import java.util.TreeSet;
@@ -32,7 +31,7 @@ import static org.junit.Assert.assertNotEquals;
 public class ConcurrentLinkedHashMapTest {
     @Test
     public void computeIfAbsent() {
-        org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap
m = new org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Builder<>()
+        ConcurrentLinkedHashMap m = new ConcurrentLinkedHashMap.Builder<>()
                 .maximumWeightedCapacity(3)
                 .build();
 
@@ -52,7 +51,7 @@ public class ConcurrentLinkedHashMapTest {
 
     @Test
     public void computeIfAbsentConcurrently() throws InterruptedException {
-        final org.apache.groovy.util.concurrent.concurrentlinkedhashmap.ConcurrentLinkedHashMap
m = new ConcurrentLinkedHashMap.Builder<>()
+        final ConcurrentLinkedHashMap m = new ConcurrentLinkedHashMap.Builder<>()
                 .maximumWeightedCapacity(3)
                 .build();
 


Mime
View raw message