File tree Expand file tree Collapse file tree
src/sqlancer/postgres/ast Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282 <exclude name =" InsufficientStringBufferDeclaration" />
8383 <exclude name =" RedundantFieldInitializer" />
8484 <exclude name =" ConsecutiveAppendsShouldReuse" />
85- <exclude name =" UselessStringValueOf" />
8685 <exclude name =" UseStringBufferForStringAppends" />
8786 <exclude name =" SimplifyStartsWith" />
8887 <exclude name =" TooFewBranchesForASwitchStatement" />
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ public String getTextRepresentation() {
464464 if (Double .isFinite (val )) {
465465 return String .valueOf (val );
466466 } else {
467- return "'" + String . valueOf ( val ) + "'" ;
467+ return "'" + val + "'" ;
468468 }
469469 }
470470
@@ -488,7 +488,7 @@ public String getTextRepresentation() {
488488 if (Double .isFinite (val )) {
489489 return String .valueOf (val );
490490 } else {
491- return "'" + String . valueOf ( val ) + "'" ;
491+ return "'" + val + "'" ;
492492 }
493493 }
494494
You can’t perform that action at this time.
0 commit comments