Skip to content

Commit 2e528c7

Browse files
committed
Use TextLayer instead of TextLayerBuilder. Use getThis() instead of self().
1 parent 9115879 commit 2e528c7

File tree

1 file changed

+2
-2
lines changed
  • cloudinary-core/src/main/java/com/cloudinary/transformation

1 file changed

+2
-2
lines changed

cloudinary-core/src/main/java/com/cloudinary/transformation/TextLayer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ public TextLayer letterSpacing(String letterSpacing) {
7575
return getThis();
7676
}
7777

78-
public TextLayerBuilder lineSpacing(Integer lineSpacing) {
78+
public TextLayer lineSpacing(Integer lineSpacing) {
7979
this.lineSpacing = lineSpacing;
80-
return self();
80+
return getThis();
8181
}
8282

8383
public TextLayer text(String text) {

0 commit comments

Comments
 (0)