Skip to content

Commit 80ab6b3

Browse files
committed
PDFBOX-6103: Sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1929963 13f79535-47bb-0310-9956-ffa450edef68
1 parent 4a924ca commit 80ab6b3

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

fontbox/src/main/java/org/apache/fontbox/ttf/gsub/GsubWorkerForDflt.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ public List<Integer> applyTransforms(List<Integer> originalGlyphIds)
7878
{
7979
if (!gsubData.isFeatureSupported(feature))
8080
{
81-
LOG.debug("the feature " + feature + " was not found");
81+
LOG.debug("the feature {} was not found", feature);
8282
continue;
8383
}
8484

85-
LOG.debug("applying the feature " + feature);
85+
LOG.debug("applying the feature {}", feature);
8686

8787
ScriptFeature scriptFeature = gsubData.getFeature(feature);
8888

@@ -98,7 +98,7 @@ private List<Integer> applyGsubFeature(ScriptFeature scriptFeature,
9898
{
9999
if (scriptFeature.getAllGlyphIdsForSubstitution().isEmpty())
100100
{
101-
LOG.debug("getAllGlyphIdsForSubstitution() for " + scriptFeature.getName() + " is empty");
101+
LOG.debug("getAllGlyphIdsForSubstitution() for {} is empty", scriptFeature.getName());
102102
return originalGlyphs;
103103
}
104104

@@ -122,8 +122,7 @@ private List<Integer> applyGsubFeature(ScriptFeature scriptFeature,
122122
}
123123
}
124124

125-
LOG.debug("originalGlyphs: " + originalGlyphs + ", gsubProcessedGlyphs: "
126-
+ gsubProcessedGlyphs);
125+
LOG.debug("originalGlyphs: {} gsubProcessedGlyphs: {}", originalGlyphs, gsubProcessedGlyphs);
127126

128127
return gsubProcessedGlyphs;
129128
}

0 commit comments

Comments
 (0)