remove compiler warning

This commit is contained in:
agapple
2015-04-30 11:20:25 +08:00
parent eeaf5ce910
commit c935f06344
26 changed files with 50 additions and 50 deletions

View File

@@ -20,6 +20,7 @@ import com.google.common.collect.MigrateMap;
*/
public class PatternUtils {
@SuppressWarnings("deprecation")
private static Map<String, Pattern> patterns = MigrateMap.makeComputingMap(new MapMaker().softValues(),
new Function<String, Pattern>() {

View File

@@ -1,6 +1,6 @@
package com.alibaba.otter.canal.filter;
import junit.framework.Assert;
import org.junit.Assert;
import org.junit.Test;

View File

@@ -5,7 +5,7 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.junit.Assert;
import org.apache.commons.lang.RandomStringUtils;
import org.junit.Test;