[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-cvs
Subject: [ jEdit-commits ] SF.net SVN: jedit:[25279] jEdit/trunk/org/gjt/sp/jedit/buffer/ JEditBuffer.java
From: kpouer--- via jEdit-CVS <jedit-cvs () lists ! sourceforge ! net>
Date: 2020-04-20 22:08:37
Message-ID: 1587420517.640165.2495 () sfp-scm-2 ! v30 ! lw ! sourceforge ! com
[Download RAW message or body]
Revision: 25279
http://sourceforge.net/p/jedit/svn/25279
Author: kpouer
Date: 2020-04-20 22:08:37 +0000 (Mon, 20 Apr 2020)
Log Message:
-----------
use <> operator
Modified Paths:
--------------
jEdit/trunk/org/gjt/sp/jedit/buffer/JEditBuffer.java
Modified: jEdit/trunk/org/gjt/sp/jedit/buffer/JEditBuffer.java
===================================================================
--- jEdit/trunk/org/gjt/sp/jedit/buffer/JEditBuffer.java 2020-04-20 06:12:29 UTC (rev \
25278)
+++ jEdit/trunk/org/gjt/sp/jedit/buffer/JEditBuffer.java 2020-04-20 22:08:37 UTC (rev \
25279) @@ -1147,7 +1147,7 @@
int newIndent = oldIndent;
List<IndentRule> indentRules = getIndentRules(lineIndex);
- List<IndentAction> actions = new LinkedList<IndentAction>();
+ List<IndentAction> actions = new LinkedList<>();
for (IndentRule rule : indentRules)
rule.apply(this, lineIndex, prevLineIndex, prevPrevLineIndex, actions);
@@ -2928,7 +2928,7 @@
{
int currentLine = startLine;
int colBlockWidth=0;
- Vector<ColumnBlockLine> columnBlockLines = new Vector<ColumnBlockLine>();
+ Vector<ColumnBlockLine> columnBlockLines = new Vector<>();
//while(currentLine<=endLine)
ColumnBlock parentColumnBlock = (ColumnBlock) parent;
for(int ik=startLine- parentColumnBlock.getStartLine();currentLine<=endLine;ik++)
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic