Comment #1: /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/Util.java: 951-953 [COMMENT #1] Decode the path. try { ****** COMMENT #1 ****** link = URLDecoder.decode(link, "UTF-8"); } catch (UnsupportedEncodingException e) { # Rating on this comment # 1: accurate, adequate, concise and useful at describing the source code. (committable) # 2: not accurate, adequate, concise, or useful, at describing the source code but can be fixed with minor modifications. # (committable but require fixes) # 3: not accurate, adequate, concise, or useful at describing the source code. (not committable) # (Fill in after the keyword: 1, 2 or 3) CLASSIFICATION: ———————————— Comment #2: /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/GUIGlobals.java: 363-365 [COMMENT #1] Try to close input stream if we have one. try { ****** COMMENT #1 ****** if (in != null) in.close(); } catch (IOException ex) { # Rating on this comment # 1: accurate, adequate, concise and useful at describing the source code. (committable) # 2: not accurate, adequate, concise, or useful, at describing the source code but can be fixed with minor modifications. # (committable but require fixes) # 3: not accurate, adequate, concise, or useful at describing the source code. (not committable) # (Fill in after the keyword: 1, 2 or 3) CLASSIFICATION: ———————————— Comment #3: /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/gui/FieldSetComponent.java: 310-313 [COMMENT #1] Implementation of actionPerformed. @param e the ActionEvent triggered ****** COMMENT #1 ****** public void actionPerformed(ActionEvent e) { Object src = e.getSource(); if (src == add) { // Selection has been made, or add button pressed: if ((sel != null) && (sel.getSelectedItem() != null)) { String s = sel.getSelectedItem().toString(); addField(s); } else if ((input != null) && !input.getText().equals("")) { addField(input.getText()); } } # Rating on this comment # 1: accurate, adequate, concise and useful at describing the source code. (committable) # 2: not accurate, adequate, concise, or useful, at describing the source code but can be fixed with minor modifications. # (committable but require fixes) # 3: not accurate, adequate, concise, or useful at describing the source code. (not committable) # (Fill in after the keyword: 1, 2 or 3) CLASSIFICATION: ———————————— Comment #4: /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/wizard/integrity/gui/IntegrityMessagePanel.java: 176-179 [COMMENT #1] Implementation of actionPerformed. @param e the ActionEvent triggered ****** COMMENT #1 ****** public void actionPerformed( ActionEvent e ) { Object obj = e.getSource() ; if (obj == applyButton) { Object data = warnings.getSelectedValue() ; if (data != null) { IntegrityMessage msg = (IntegrityMessage) data ; BibtexEntry entry = msg.getEntry() ; if (entry != null) { # Rating on this comment # 1: accurate, adequate, concise and useful at describing the source code. (committable) # 2: not accurate, adequate, concise, or useful, at describing the source code but can be fixed with minor modifications. # (committable but require fixes) # 3: not accurate, adequate, concise, or useful at describing the source code. (not committable) # (Fill in after the keyword: 1, 2 or 3) CLASSIFICATION: ———————————— Comment #5: /home/edmund/evaluate_projects/jabref-code-6457b2f4aa22175c95d263f0c8c510cd86982e8a/jabref/src/java/net/sf/jabref/groups/GroupDialog.java: 447-449 [COMMENT #1] check the pattern so we can rely on the pattern being valid at runtime if (m_sgRegExp.isSelected()) { ****** COMMENT #1 ****** try { Pattern.compile(s1); } catch (Exception e) { okEnabled = false; setDescription(formatRegExException(s1, e)); } } # Rating on this comment # 1: accurate, adequate, concise and useful at describing the source code. (committable) # 2: not accurate, adequate, concise, or useful, at describing the source code but can be fixed with minor modifications. # (committable but require fixes) # 3: not accurate, adequate, concise, or useful at describing the source code. (not committable) # (Fill in after the keyword: 1, 2 or 3) CLASSIFICATION: ————————————