Skip to content

Commit 947fad6

Browse files
committed
Minor reformatting in accordance with code convention
DEVSIX-1259
1 parent e9d515e commit 947fad6

File tree

1 file changed

+14
-17
lines changed

1 file changed

+14
-17
lines changed

io/src/main/java/com/itextpdf/io/font/otf/OpenTableLookup.java

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ This file is part of the iText (R) project.
4545

4646
import java.io.Serializable;
4747

48-
/**
49-
*
50-
* @author psoares
51-
*/
5248
public abstract class OpenTableLookup implements Serializable {
5349

5450
private static final long serialVersionUID = 8381791136767127636L;
@@ -65,15 +61,7 @@ protected OpenTableLookup(OpenTypeFontTableReader openReader, int lookupFlag, in
6561
public int getLookupFlag() {
6662
return lookupFlag;
6763
}
68-
69-
protected void readSubTables() throws java.io.IOException {
70-
for (int subTableLocation : subTableLocations) {
71-
readSubTable(subTableLocation);
72-
}
73-
}
74-
75-
protected abstract void readSubTable(int subTableLocation) throws java.io.IOException;
76-
64+
7765
public abstract boolean transformOne(GlyphLine line);
7866

7967
public boolean transformLine(GlyphLine line) {
@@ -84,7 +72,19 @@ public boolean transformLine(GlyphLine line) {
8472
}
8573
return changed;
8674
}
87-
75+
76+
public boolean hasSubstitution(int index) {
77+
return false;
78+
}
79+
80+
protected void readSubTables() throws java.io.IOException {
81+
for (int subTableLocation : subTableLocations) {
82+
readSubTable(subTableLocation);
83+
}
84+
}
85+
86+
protected abstract void readSubTable(int subTableLocation) throws java.io.IOException;
87+
8888
public static class GlyphIndexer {
8989
public GlyphLine line;
9090
public Glyph glyph;
@@ -113,7 +113,4 @@ public void previousGlyph(OpenTypeFontTableReader openReader, int lookupFlag) {
113113
}
114114
}
115115

116-
public boolean hasSubstitution(int index) {
117-
return false;
118-
}
119116
}

0 commit comments

Comments
 (0)