diff --git a/src/main/java/soot/ModulePathSourceLocator.java b/src/main/java/soot/ModulePathSourceLocator.java index 47a069a503e..adb342051c5 100644 --- a/src/main/java/soot/ModulePathSourceLocator.java +++ b/src/main/java/soot/ModulePathSourceLocator.java @@ -1,5 +1,29 @@ package soot; +/*- + * #%L + * Soot - a J*va Optimization Framework + * %% + * Copyright (C) 1997 - 2014 Raja Vallee-Rai and others + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 2.1 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * . + * #L% + */ + +import com.google.common.base.Optional; + import java.io.File; import java.io.IOException; import java.net.URI; @@ -27,30 +51,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; -/*- - * #%L - * Soot - a J*va Optimization Framework - * %% - * Copyright (C) 1997 - 2014 Raja Vallee-Rai and others - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 2.1 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * . - * #L% - */ - -import com.google.common.base.Optional; - import soot.JavaClassProvider.JarException; import soot.asm.AsmModuleClassProvider; diff --git a/src/main/java/soot/SourceLocator.java b/src/main/java/soot/SourceLocator.java index 7d22032eb37..8ad87ad5784 100755 --- a/src/main/java/soot/SourceLocator.java +++ b/src/main/java/soot/SourceLocator.java @@ -1,32 +1,5 @@ package soot; -import java.io.Closeable; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.util.ArrayList; -import java.util.Collections; -import java.util.Enumeration; -import java.util.HashSet; -import java.util.LinkedList; -import java.util.List; -import java.util.Map; -import java.util.Queue; -import java.util.Set; -import java.util.StringTokenizer; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentLinkedQueue; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.TimeUnit; -import java.util.function.BiFunction; -import java.util.regex.Pattern; -import java.util.zip.ZipEntry; -import java.util.zip.ZipFile; - -import org.jf.dexlib2.iface.DexFile; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - /*- * #%L * Soot - a J*va Optimization Framework @@ -56,6 +29,33 @@ import com.google.common.cache.RemovalListener; import com.google.common.cache.RemovalNotification; +import java.io.Closeable; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Enumeration; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.List; +import java.util.Map; +import java.util.Queue; +import java.util.Set; +import java.util.StringTokenizer; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentLinkedQueue; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.TimeUnit; +import java.util.function.BiFunction; +import java.util.regex.Pattern; +import java.util.zip.ZipEntry; +import java.util.zip.ZipFile; + +import org.jf.dexlib2.iface.DexFile; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + import soot.JavaClassProvider.JarException; import soot.asm.AsmClassProvider; import soot.asm.AsmJava9ClassProvider;