Skip to content

Commit

Permalink
Rename getLinesOfTextArea to getLinesFromTextArea
Browse files Browse the repository at this point in the history
  • Loading branch information
libnoon committed Mar 9, 2017
1 parent b7a3cf5 commit 03f3a91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gui/fr/fbauzac/timecompile/TimeCompileMainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ public void changedUpdate(DocumentEvent e) {
}

private void computeAndDisplayResults() {
List<String> mapLines = getLinesOfTextArea(mapTextArea);
List<String> mapLines = getLinesFromTextArea(mapTextArea);
Map<String, String> map = MapParser.parse(mapLines);

Summary summary;
try {
summary = TimeCompile.summarize(getLinesOfTextArea(timeLineTextArea), map);
summary = TimeCompile.summarize(getLinesFromTextArea(timeLineTextArea), map);
} catch (TimeCompileException e) {
resultTextArea.setText("Failed to process input: " + e);
return;
Expand All @@ -111,7 +111,7 @@ private void computeAndDisplayResults() {
}
}

private static List<String> getLinesOfTextArea(JTextArea textArea) {
private static List<String> getLinesFromTextArea(JTextArea textArea) {
Document document = textArea.getDocument();
String text;
try {
Expand Down

0 comments on commit 03f3a91

Please sign in to comment.