mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Utilizing module filter yet again (compile server).
This commit is contained in:
@@ -772,7 +772,10 @@ public class Mappings {
|
||||
}
|
||||
}
|
||||
|
||||
private boolean incrementalDecision(final int owner, final Proto member, final Collection<File> affectedFiles, final DependentFilesFilter filter) {
|
||||
private boolean incrementalDecision(final int owner,
|
||||
final Proto member,
|
||||
final Collection<File> affectedFiles,
|
||||
final DependentFilesFilter filter) {
|
||||
final boolean isField = member instanceof FieldRepr;
|
||||
final Util self = new Util(this);
|
||||
|
||||
@@ -859,7 +862,7 @@ public class Mappings {
|
||||
|
||||
Callbacks.ConstantAffection getAffection() {
|
||||
try {
|
||||
return affection != null? affection.get() : Callbacks.ConstantAffection.EMPTY;
|
||||
return affection != null ? affection.get() : Callbacks.ConstantAffection.EMPTY;
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
@@ -1597,8 +1600,12 @@ public class Mappings {
|
||||
|
||||
if (fName > 0) {
|
||||
final String f = myContext.getValue(fName);
|
||||
debug("Adding dependent file ", f);
|
||||
affectedFiles.add(new File(f));
|
||||
final File theFile = new File(f);
|
||||
|
||||
if (filter.accept(theFile)) {
|
||||
debug("Adding dependent file ", f);
|
||||
affectedFiles.add(theFile);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user