equal
deleted
inserted
replaced
1089 |
1089 |
1090 mn = mn.substring(0, start); |
1090 mn = mn.substring(0, start); |
1091 } |
1091 } |
1092 |
1092 |
1093 // finally clean up the module name |
1093 // finally clean up the module name |
1094 mn = mn.replaceAll("[^A-Za-z0-9]", ".") // replace non-alphanumeric |
1094 mn = mn.replaceAll("(\\.|\\d)*$", "") // remove trailing version |
|
1095 .replaceAll("[^A-Za-z0-9]", ".") // replace non-alphanumeric |
1095 .replaceAll("(\\.)(\\1)+", ".") // collapse repeating dots |
1096 .replaceAll("(\\.)(\\1)+", ".") // collapse repeating dots |
1096 .replaceAll("^\\.", "") // drop leading dots |
1097 .replaceAll("^\\.", "") // drop leading dots |
1097 .replaceAll("\\.$", ""); // drop trailing dots |
1098 .replaceAll("\\.$", ""); // drop trailing dots |
1098 |
1099 |
1099 |
1100 |