Skip to content

Commit 601434b

Browse files
committed
Use Checkstyle WhitespaceAfter
1 parent 816c2a8 commit 601434b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

commons-jcs3-core/src/main/java/org/apache/commons/jcs3/engine/memory/AbstractMemoryCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public abstract class AbstractMemoryCache<K, V>
6767
protected final Lock lock = new ReentrantLock();
6868

6969
/** Map where items are stored by key. This is created by the concrete child class. */
70-
protected Map<K, MemoryElementDescriptor<K, V>> map;// TODO privatise
70+
protected Map<K, MemoryElementDescriptor<K, V>> map; // TODO privatise
7171

7272
/** Number of hits */
7373
protected AtomicLong hitCnt;

commons-jcs3-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskCacheKeyStoreUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private void testSaveLoadKeysInner(final BlockDiskCacheAttributes attributes)
141141
// Random random = new Random( 89 );
142142
for (int i = 0; i < numElements; i++)
143143
{
144-
final int blocks = i;// random.nextInt( 10 );
144+
final int blocks = i; // random.nextInt( 10 );
145145

146146
// fill with reasonable data to make verify() happy
147147
final int[] block1 = new int[blocks];

commons-jcs3-core/src/test/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDiskUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public void testWriteAndRead_BigString2()
272272
throws Exception
273273
{
274274
// SETUP
275-
setUpBlockDisk("testWriteAndRead_BigString", 47); //4096;//1024
275+
setUpBlockDisk("testWriteAndRead_BigString", 47); //4096; //1024
276276

277277
String string = "abcdefghijklmnopqrstuvwxyz1234567890";
278278
string += string;

commons-jcs3-core/src/test/java/org/apache/commons/jcs3/auxiliary/lateral/socket/tcp/LateralTCPConcurrentRandomTestUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void p( final String s )
6767
public static void runTestForRegion( final String region, final int range, final int numOps, final int testNum )
6868
throws Exception
6969
{
70-
final boolean show = true;//false;
70+
final boolean show = true; //false;
7171

7272
final CacheAccess<String, String> cache = JCS.getInstance( region );
7373

commons-jcs3-core/src/test/java/org/apache/commons/jcs3/utils/serialization/SerializationConversionUtilUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void testNullSerializerConversion()
136136
final String key = "key";
137137
final String value = "value fdsadf dsafdsa fdsaf dsafdsaf dsafdsaf dsaf dsaf dsaf dsafa dsaf dsaf dsafdsaf";
138138

139-
final IElementSerializer elementSerializer = null;// new StandardSerializer();
139+
final IElementSerializer elementSerializer = null; // new StandardSerializer();
140140

141141
final IElementAttributes attr = new ElementAttributes();
142142
attr.setMaxLife(34);

src/experimental/org/apache/commons/jcs/auxiliary/lateral/socket/udp/LateralUDPReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected LateralUDPReceiver( String multicastAddressString, int multicastPort )
8383
{
8484
log.error( e );
8585
log.debug( "Could not bind to multicast address " + multicastAddressString + ":" + multicastPort );
86-
//throw e ;//new CacheException( "Could not bind to multicast address " + multicastAddressString + ":" + multicastPort, e);
86+
//throw e ; //new CacheException( "Could not bind to multicast address " + multicastAddressString + ":" + multicastPort, e);
8787
}
8888
}
8989

0 commit comments

Comments
 (0)