Skip to content

Commit 613511f

Browse files
author
saharmehrpour
committed
fixed issue #20
1 parent d425ecc commit 613511f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ActiveDocumentationPlugin.zip

6 Bytes
Binary file not shown.

src/FileChangeManager.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,12 @@ private void handleEvents(Project project, VFileEvent event, String eventType) {
205205
* @return true/false
206206
*/
207207
private boolean shouldIgnoreFile(VirtualFile s) {
208+
if (s.getName().endsWith(Constants.TEMP_JAVA_FILE)) {
209+
return true;
210+
}
208211
return !(s.getName().endsWith(".java")
209212
|| s.getName().endsWith(Constants.RULE_TABLE_JSON)
210-
|| s.getName().endsWith(Constants.TAG_TABLE_JSON)
211-
|| s.getName().equals(Constants.TEMP_JAVA_FILE));
213+
|| s.getName().endsWith(Constants.TAG_TABLE_JSON));
212214
}
213215

214216
/**

0 commit comments

Comments
 (0)