Last fixed due to maven-compiler-plugin

This commit is contained in:
alexkravin 2014-12-12 00:41:32 +04:00
parent 9414fce5b6
commit bfdf099a6f
3 changed files with 4 additions and 4 deletions

View File

@ -104,7 +104,7 @@ public class CustomImportOrderCheckTest extends BaseCheckTestSupport
"15: Wrong lexicographical order for 'java.io.InputStream' import.",
"18: Import statement is in the wrong order. Should be in the 'SAME_PACKAGE' group.",
"20: Imports without groups should be placed at the end of the import list.",
"21: 'org.apache.*'should be separated from previous import group.",
"21: 'org.junit.*'should be separated from previous import group.",
};
verify(checkConfig, getPath("imports" + File.separator

View File

@ -18,7 +18,7 @@ import java.io.Reader;
import com.puppycrawl.tools.*;
import com.google.common.*;
import org.apache.*;
import org.junit.*;
public class InputCustomImportOrder {
}

View File

@ -99,7 +99,7 @@ class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V>
STRONG_ACCESS {
<K, V> StrongAccessEntry<K, V> newEntry(
Segment<K, V> segment, K key, int hash, @Nullable ReferenceEntry<K, V> next) {
return new StrongAccessEntry<K, V>((int) key, hash, next);
return new StrongAccessEntry<K, V>(key, hash, next);
}
<K, V> ReferenceEntry<K, V> copyEntry(
@ -219,7 +219,7 @@ class LocalCache<K, V> extends AbstractMap<K, V> implements ConcurrentMap<K, V>
private static class StrongAccessEntry<T1, T2> {
public StrongAccessEntry(int key, int hash, ReferenceEntry<T1, T2> next)
public StrongAccessEntry(T1 key, int hash, ReferenceEntry<T1, T2> next)
{
}