Skip to content

Commit d39f489

Browse files
committed
Fix major issue by sonar cloud
1 parent d7f42fc commit d39f489

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

fj-tool/src/main/java/org/fugerit/java/tool/ToolHandlerHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract class ToolHandlerHelper implements ToolHandler {
3333
*
3434
* @param params ths params for the tool
3535
* @return exit code (0 is all ok)
36-
* @throws Exception issues if problems arise
36+
* @throws RunToolException issues if problems arise
3737
*/
3838
abstract public int handleWorker( Properties params ) throws RunToolException;
3939

fj-tool/src/main/java/org/fugerit/java/tool/encoding/CharsetCorrect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private static void recurse( File current, FileFilter filter, String sourceChars
125125
*
126126
*
127127
* @param params the arguments
128-
* @throws Exception if issues arise.
128+
* @throws RunToolException if issues arise.
129129
*/
130130
public static void correct( Properties params ) throws RunToolException {
131131
String inputFile = params.getProperty( PARAM_INPUT_FILE );

fj-tool/src/main/java/org/fugerit/java/tool/fixed/ExtractFixedConfigHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private int handleRow( int start, String length, String name, List<FixedFieldDes
4545
try {
4646
Integer len = Integer.valueOf( length );
4747
FixedFieldDescriptor ffd = new FixedFieldDescriptor( name, start, len );
48-
logger.info( String.valueOf( ffd ) );
48+
logger.info( "field descriptor : {}", ffd );
4949
listFields.add( ffd );
5050
start+= len;
5151
} catch (Exception e) {

0 commit comments

Comments
 (0)