Skip to content

Commit

Permalink
StashRepository: Use Java style array declaration
Browse files Browse the repository at this point in the history
Using [] after the variable name is deprecated.
  • Loading branch information
proski authored and jakub-bochenski committed Jun 6, 2019
1 parent 1b73ed3 commit 792ab3a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public static AbstractMap.SimpleEntry<String, String> getParameter(String conten

public static Map<String, String> getParametersFromContent(String content) {
Map<String, String> result = new TreeMap<String, String>();
String lines[] = content.split("\\r?\\n|\\r");
String[] lines = content.split("\\r?\\n|\\r");
for (String line : lines) {
AbstractMap.SimpleEntry<String, String> parameter = getParameter(line);
if (parameter != null) {
Expand Down

0 comments on commit 792ab3a

Please sign in to comment.