equal
deleted
inserted
replaced
311 String fn = f.getPath().substring(rootPrefix); |
311 String fn = f.getPath().substring(rootPrefix); |
312 // Extract the package name. |
312 // Extract the package name. |
313 int sp = fn.lastIndexOf(File.separatorChar); |
313 int sp = fn.lastIndexOf(File.separatorChar); |
314 String pkg = ""; |
314 String pkg = ""; |
315 if (sp != -1) { |
315 if (sp != -1) { |
316 pkg = fn.substring(0,sp); |
316 pkg = fn.substring(0,sp).replace('/','.'); |
317 } |
317 } |
318 // Is this a module-info.java file? |
318 // Is this a module-info.java file? |
319 if (fn.endsWith("module-info.java")) { |
319 if (fn.endsWith("module-info.java")) { |
320 // Aha! We have recursed into a module! |
320 // Aha! We have recursed into a module! |
321 if (!currentModule.name().equals("")) { |
321 if (!currentModule.name().equals("")) { |