mirror of
https://github.com/java-decompiler/jd-gui.git
synced 2025-02-17 02:37:49 +00:00
Cleanup
This commit is contained in:
parent
b147bb8112
commit
0323cc8a60
@ -23,7 +23,7 @@ public class MavenOrgSourceLoaderPreferencesProvider extends JPanel implements P
|
||||
public static final String FILTERS = "MavenOrgSourceLoaderPreferencesProvider.filters";
|
||||
|
||||
public static final String DEFAULT_FILTERS_VALUE =
|
||||
"+org +com.google +com.ibm +com.jcraft +com.springsource +com.sun -com +java +javax +sun +sunw " +
|
||||
"+org +com.google +com.springsource +com.sun -com +java +javax +sun +sunw " +
|
||||
"+spring +springframework +springmodules +tomcat +maven";
|
||||
|
||||
protected static final Pattern CONTROL_PATTERN = Pattern.compile("([+-][a-zA-Z_0-9$_.]+(\\s+[+-][a-zA-Z_0-9$_.]+)*)?\\s*");
|
||||
|
@ -32,7 +32,7 @@ public class DynamicPage
|
||||
protected Container.Entry entry;
|
||||
protected TypePage page;
|
||||
protected URI lastOpenedUri;
|
||||
protected Collection<Future<Indexes>> collectionOfFutureIndexes;
|
||||
protected Collection<Future<Indexes>> lastCollectionOfFutureIndexes;
|
||||
|
||||
public DynamicPage(API api, Container.Entry entry) {
|
||||
super(new BorderLayout());
|
||||
@ -75,8 +75,7 @@ public class DynamicPage
|
||||
|
||||
// --- IndexesChangeListener --- //
|
||||
@Override public void indexesChanged(Collection<Future<Indexes>> collectionOfFutureIndexes) {
|
||||
this.collectionOfFutureIndexes = collectionOfFutureIndexes;
|
||||
page.indexesChanged(collectionOfFutureIndexes);
|
||||
page.indexesChanged(lastCollectionOfFutureIndexes = collectionOfFutureIndexes);
|
||||
}
|
||||
|
||||
// --- LineNumberNavigable --- //
|
||||
@ -107,8 +106,8 @@ public class DynamicPage
|
||||
page.openUri(lastOpenedUri);
|
||||
}
|
||||
|
||||
if (collectionOfFutureIndexes != null) {
|
||||
page.indexesChanged(collectionOfFutureIndexes);
|
||||
if (lastCollectionOfFutureIndexes != null) {
|
||||
page.indexesChanged(lastCollectionOfFutureIndexes);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user