Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/kmcaster.git

Suppress warnings, remove unused constant

Author DaveJarvis <email>
Date 2020-08-03 18:09:37 GMT-0700
Commit 099d678763b00acf3b05ee99d75ee8d0a988a833
Parent 6d53434
Delta 2 lines added, 6 lines removed, 4-line decrease
src/main/com/whitemagicsoftware/kmcaster/LabelConfig.java
* @param hAlign Horizontal alignment.
*/
+ @SuppressWarnings("SameParameterValue")
LabelConfig( final int vAlign, final int hAlign ) {
this( null, vAlign, hAlign );
src/main/com/whitemagicsoftware/kmcaster/Settings.java
description = "Displays key presses and mouse clicks on the screen."
)
-@SuppressWarnings("FieldMayBeFinal")
+@SuppressWarnings({"FieldMayBeFinal", "CanBeFinal"})
public final class Settings implements Callable<Integer> {
/**
src/main/com/whitemagicsoftware/kmcaster/ui/Constants.java
/**
- * Default insets, has no padding.
- */
- public final static Insets INSETS_EMPTY = new Insets( 0, 0, 0, 0 );
-
- /**
* DejaVu Sans is the only free, open, sans serif font that supports all
* the Unicode blocks used by the application. The font size will be scaled