cleanup comments

This commit is contained in:
adam-m 2012-01-11 11:20:16 -05:00
parent 4825aff6ee
commit 7acbc92b1f

View File

@ -439,16 +439,11 @@ public final class KeywordSearchListTopComponent extends TopComponent implements
public void componentClosed() { public void componentClosed() {
} }
void writeProperties(java.util.Properties p) { void writeProperties(java.util.Properties p) {
// better to version settings since initial version as advocated at
// http://wiki.apidesign.org/wiki/PropertyFiles
p.setProperty("version", "1.0"); p.setProperty("version", "1.0");
// TODO store your settings
} }
void readProperties(java.util.Properties p) { void readProperties(java.util.Properties p) {
String version = p.getProperty("version");
// TODO read your settings according to their version
} }
@Override @Override
@ -475,8 +470,8 @@ public final class KeywordSearchListTopComponent extends TopComponent implements
if (!s.trim().equals("")) { if (!s.trim().equals("")) {
//use false for isLiteral because we are currently escaping //use false for isLiteral because we are currently escaping
//the keyword earlier as it is stored //the keyword earlier as it is stored
//might need to change and pass isLiteral if the query object //might need to change and pass isLiteral
//needs to treat it specially //if the query object needs to treat it specially
ret.put(s, false); ret.put(s, false);
} }
} }