-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored data clumps with the help of LLMs (research project) (#1140)
* refactored a data clump * improved readability and removed options from BarCodeDimensions Co-authored-by: tschoemaker <=>
- Loading branch information
Showing
2 changed files
with
71 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
openpdf/src/main/java/com/lowagie/text/pdf/BarcodeDimensions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.lowagie.text.pdf; | ||
|
||
public class BarcodeDimensions { | ||
|
||
private int height; | ||
private int width; | ||
private int border; | ||
|
||
public int getHeight() { | ||
return height; | ||
} | ||
|
||
public void setHeight(int height) { | ||
this.height = height; | ||
} | ||
|
||
public int getWidth() { | ||
return width; | ||
} | ||
|
||
public void setWidth(int width) { | ||
this.width = width; | ||
} | ||
|
||
public int getBorder() { | ||
return border; | ||
} | ||
|
||
public void setBorder(int border) { | ||
this.border = border; | ||
} | ||
|
||
public BarcodeDimensions(int width, int height, int border) { | ||
this.width = width; | ||
this.height = height; | ||
this.border = border; | ||
} | ||
|
||
public BarcodeDimensions() { | ||
this(0, 0, 0); | ||
} | ||
|
||
|
||
} |