diff options
| author | Teddy Wing | 2023-04-26 00:14:22 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2023-04-26 00:14:22 +0200 | 
| commit | caf0512b09360f2e29329d1eba7933273b4a79c8 (patch) | |
| tree | ac30c97f31919e1e7563c39aca45fc5e7faa1e92 /src | |
| parent | c61818f5cfb9905c0e7a26b532c70d46a73691fa (diff) | |
| download | pdf-form-replace-font2-caf0512b09360f2e29329d1eba7933273b4a79c8.tar.bz2 | |
Switch to Java 8
I had used Java 11 in order to use the `var` syntax, which seemed
pleasantly more concise, however, I discovered that the machine I want
to deploy this application to only has a Java 8 SDK, and I don't want to
bother messing with it and going on a potential yak shaving quest.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main/java/com/teddywing/pdf_form_replace_font2/App.java | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/main/java/com/teddywing/pdf_form_replace_font2/App.java b/src/main/java/com/teddywing/pdf_form_replace_font2/App.java index 24cf36e..9d4051a 100644 --- a/src/main/java/com/teddywing/pdf_form_replace_font2/App.java +++ b/src/main/java/com/teddywing/pdf_form_replace_font2/App.java @@ -131,7 +131,7 @@ public class App {  		PdfAcroForm form = PdfAcroForm.getAcroForm(pdf, false);  		Map<String, PdfFormField> fields = form.getFormFields(); -		for (var entry : fields.entrySet()) { +		for (Map.Entry<String, PdfFormField> entry : fields.entrySet()) {  			PdfFormField field = entry.getValue();  			PdfFont original_font = field.getFont(); | 
