Skip to content

Commit

Permalink
removed unnecessary initializers
Browse files Browse the repository at this point in the history
  • Loading branch information
doneill committed Nov 3, 2015
1 parent 4da1eae commit b640559
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ public void onClick(View v) {
for (int i = 0; i < listAdapter.getCount(); i++) {

AttributeItem item = (AttributeItem) listAdapter.getItem(i);
String value = "";
String value;

// check to see if the View has been set
if (item.getView() != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public Object getItem(int position) {
// array created at startup
int fieldIndex = this.editableFieldIndexes[position];

AttributeItem row = null;
AttributeItem row;

// check to see if we have already created an attribute item if not
// create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static boolean setAttribute(Map<String, Object> attrs,
} else if (FieldType.determineFieldType(field) == FieldType.DATE) {
// if its a date, get the milliseconds value
Calendar c = Calendar.getInstance();
long dateInMillis = 0;
long dateInMillis;
try {
// parse to a double and check this is a change
c.setTime(formatter.parse(value));
Expand Down

0 comments on commit b640559

Please sign in to comment.