diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b149019 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# Copyright (C) 2021 Sebastian Pipping +# Licensed under the MIT license + +version: 2 +updates: + + - package-ecosystem: "github-actions" + commit-message: + include: "scope" + prefix: "Actions" + directory: "/" + labels: + - "enhancement" + schedule: + interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a6b362e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +# Copyright (C) 2021 Sebastian Pipping +# Licensed under the MIT license + +name: Build on Linux using Apache Ant + +on: + pull_request: + push: + schedule: + - cron: '0 4 * * 5' # Every Friday at 4am + +jobs: + build_and_test: + name: Build on Linux using Apache Ant + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + + - name: Install dependencies + run: |- + sudo apt install --yes --no-install-recommends \ + ant \ + openjdk-11-jdk + + - name: Build + run: |- + ant + git ls-files -o diff --git a/src/com/muchsoft/util/Sys.java b/src/com/muchsoft/util/Sys.java index e7c5922..e5d1754 100755 --- a/src/com/muchsoft/util/Sys.java +++ b/src/com/muchsoft/util/Sys.java @@ -29,7 +29,7 @@ package com.muchsoft.util; *

Version History:

*
*
2004-10-13 - *
Added a new package, com.muchsoft.util.mac, and a new class, {@link Mac}. + *
Added a new package, com.muchsoft.util.mac, and a new class, Mac. *
2004-05-04 *
isMacOSX() now matches http://developer.apple.com/technotes/tn2002/tn2110.html *
2003-12-02 diff --git a/src/ika/colororacle/ColorOracle.java b/src/ika/colororacle/ColorOracle.java index eaa8ff5..8c16211 100755 --- a/src/ika/colororacle/ColorOracle.java +++ b/src/ika/colororacle/ColorOracle.java @@ -196,7 +196,7 @@ public class ColorOracle extends WindowAdapter implements KeyListener, FocusList * Loads a raster icon from the /ika/icons/ folder. * * @param name The name of the icon. - * @description A description of the icon that is attached to it. + * @param description A description of the icon that is attached to it. * @return An ImageIcon. * */ diff --git a/src/ika/colororacle/Simulator.java b/src/ika/colororacle/Simulator.java index 9b4537d..b42f0d2 100755 --- a/src/ika/colororacle/Simulator.java +++ b/src/ika/colororacle/Simulator.java @@ -74,7 +74,7 @@ public class Simulator { /** * Filter an image and return a new image with the filtered result. * - * @normal The image with normal vision. + * @param normal The image with normal vision. * @return The image with simulated color vision impairment. */ protected BufferedImage filter(BufferedImage normal) {