Java5 update - convert ArrayList to generics

Change-Id: I66cf3fd495485c92bdd9ed400482e7e72d806a89
This commit is contained in:
Noel Grandin 2012-06-27 13:02:00 +02:00 committed by Michael Stahl
parent 9726ba569b
commit 2fcb987a56

View file

@ -774,10 +774,10 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
String time;
// first I replace the minutes titles...
List items = searchFillInItems();
List<XTextRange> items = searchFillInItems();
for (int itemIndex = 0; itemIndex < items.size(); itemIndex++)
{
item = (XTextRange) items.get(itemIndex);
item = items.get(itemIndex);
itemText = item.getString().trim().toLowerCase();
if (itemText.equals(FILLIN_MINUTES_TITLE))
@ -814,7 +814,7 @@ public class AgendaTemplate extends TextDocument implements TemplateConsts, Data
items = searchFillInItems();
for (int itemIndex = 0; itemIndex < items.size(); itemIndex++)
{
item = (XTextRange) items.get(itemIndex);
item = items.get(itemIndex);
itemText = item.getString().trim().toLowerCase();
if (itemText.equals(FILLIN_MINUTE_NUM))