Skip to content

Commit

Permalink
Fixed sonar issues #199
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Sep 13, 2024
1 parent 801766d commit fd2c91b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ public static void checkFlavour( FlavourContext context, String actualFlavour )
public static void checkFlavourVersion( FlavourContext context, String actualFlavour ) {
// additional flavour config
if ( StringUtils.isEmpty( context.getFlavourVersion() ) ) {
String flavourVersionDefault = FLAVOURS_DEFAULT_VERSION.getProperty( context.getFlavour() );
log.info( "using default flavourVersion : {} for flavour : {}", flavourVersionDefault, context.getFlavour() );
String flavourVersionDefault = FLAVOURS_DEFAULT_VERSION.getProperty( actualFlavour );
log.info( "using default flavourVersion : {} for flavour : {}", flavourVersionDefault, actualFlavour );
context.setFlavourVersion( flavourVersionDefault );
} else {
log.info( "overriding default flavourVersion : {} for flavour : {}", context.getFlavourVersion(), context.getFlavour() );
log.info( "overriding default flavourVersion : {} for flavour : {}", context.getFlavourVersion(), actualFlavour );
}
}

Expand Down

0 comments on commit fd2c91b

Please sign in to comment.