Skip to content

Commit 1db2f1d

Browse files
committed
Minor optimization.
1 parent 72ba97e commit 1db2f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/yccheok/jstock/engine/YahooStockFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public List<Stock> parse(String source) {
209209
if (length < 2) break; name = quotePattern.matcher(fields[1]).replaceAll("").trim();
210210

211211
// We use name as symbol, to make it more readable.
212-
symbol = Symbol.newInstance(name.toString());
212+
symbol = Symbol.newInstance(name);
213213

214214
if (length < 3) break;
215215

0 commit comments

Comments
 (0)