Manual array copy
Redundant 'String.toString()'
Redundant String constructor call
String concatenation as argument to 'StringBuffer.append()' call
Manual array copy
Constant conditions & exceptions
'hashCode()' called on array
Number comparison using '==', instead of 'equals()'
Unused assignment
remove unnessary keywords, simplify if statements
Revert "Loose coupling", pyang generates code that is dependent on
concrete types, will come back to later when we look at pyang changes

This reverts commit bf64e98049578b1defe953a5e4f0cde8c1156409.
Merge pull request #30 from btisystems/control-flow-issues

Control flow issues