in src/org/gridgain/inspection/abbrev/AbbreviationInspection.java [38:61]
public AbbreviationInspection() {
String ggHome = System.getenv("GRIDGAIN_HOME");
if (ggHome == null) {
userMsg = "GRIDGAIN_HOME environment variable was not found. Using hard-coded abbreviation table.";
abbreviationRules = AbbreviationRules.getInstance(null);
}
else {
File abbrevFile = new File(new File(ggHome), "idea" + File.separatorChar + "abbreviation.properties");
if (!abbrevFile.exists() || !abbrevFile.isFile()) {
userMsg = "${GRIDGAIN_HOME}/idea/abbreviation.properties was not found. Using hard-coded " +
"abbreviation table.";
abbreviationRules = AbbreviationRules.getInstance(null);
}
else {
userMsg = "Using " + abbrevFile.getAbsolutePath() + " as abbreviation rules file.";
abbreviationRules = AbbreviationRules.getInstance(abbrevFile);
}
}
}