From 36847602a5cf0ec393a3d6a7d9876109086768b3 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Sat, 17 Feb 2018 19:03:49 -0800 Subject: [PATCH] correct more typographical errors in comments --- .../src/main/java/com/jme3/util/LittleEndien.java | 4 ++-- .../com/jme3/post/filters/CartoonEdgeFilter.java | 4 ++-- .../com/jme3/post/filters/ColorOverlayFilter.java | 4 ++-- .../java/com/jme3/post/filters/CrossHatchFilter.java | 12 ++++++------ .../com/jme3/post/filters/DepthOfFieldFilter.java | 4 ++-- .../com/jme3/post/filters/PosterizationFilter.java | 4 ++-- .../java/com/jme3/post/filters/RadialBlurFilter.java | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/util/LittleEndien.java b/jme3-core/src/main/java/com/jme3/util/LittleEndien.java index 6b15a7d45..abff3acca 100644 --- a/jme3-core/src/main/java/com/jme3/util/LittleEndien.java +++ b/jme3-core/src/main/java/com/jme3/util/LittleEndien.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,7 +34,7 @@ package com.jme3.util; import java.io.*; /** - * LittleEndien is a class to read littleendien stored data + * LittleEndien is a class to read little-endian stored data * via a InputStream. All functions work as defined in DataInput, but * assume they come from a LittleEndien input stream. Currently used to read .ms3d and .3ds files. * @author Jack Lindamood diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.java index 8308c8a46..efcc319a7 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -165,7 +165,7 @@ public class CartoonEdgeFilter extends Filter { /** * sets the edge intensity
- * Defineshow visilble will be the outlined edges + * Defineshow visible will be the outlined edges * @param edgeIntensity */ public void setEdgeIntensity(float edgeIntensity) { diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/ColorOverlayFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/ColorOverlayFilter.java index 50173c3fc..58f1c7941 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/ColorOverlayFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/ColorOverlayFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -53,7 +53,7 @@ public class ColorOverlayFilter extends Filter { private ColorRGBA color = ColorRGBA.White; /** - * creates a colorOverlayFilter with a white coor (transparent) + * creates a colorOverlayFilter with a white color (transparent) */ public ColorOverlayFilter() { super("Color Overlay"); diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.java index 699a252cd..31399e79c 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -269,35 +269,35 @@ public class CrossHatchFilter extends Filter { } /** - * Returns treshold for lines 1 + * Returns threshold for lines 1 */ public float getLuminance1() { return luminance1; } /** - * Returns treshold for lines 2 + * Returns threshold for lines 2 */ public float getLuminance2() { return luminance2; } /** - * Returns treshold for lines 3 + * Returns threshold for lines 3 */ public float getLuminance3() { return luminance3; } /** - * Returns treshold for lines 4 + * Returns threshold for lines 4 */ public float getLuminance4() { return luminance4; } /** - * Returns treshold for blobs + * Returns threshold for blobs */ public float getLuminance5() { return luminance5; diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/DepthOfFieldFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/DepthOfFieldFilter.java index 381bff2ff..dde643101 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/DepthOfFieldFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/DepthOfFieldFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -136,7 +136,7 @@ public class DepthOfFieldFilter extends Filter { /** * Sets the blur amount by scaling the convolution filter up or * down. A value of 1 (the default) performs a sparse 5x5 evenly - * distribubted convolution at pixel level accuracy. Higher values skip + * distributed convolution at pixel level accuracy. Higher values skip * more pixels, and so on until you are no longer blurring the image * but simply hashing it. * diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.java index 2e380c610..f3400c553 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -115,7 +115,7 @@ public class PosterizationFilter extends Filter { } /** - * Sets urrent strength value, i.e. influence on final image + * Sets current strength value, i.e. influence on final image */ public void setStrength(float strength) { this.strength = strength; diff --git a/jme3-effects/src/main/java/com/jme3/post/filters/RadialBlurFilter.java b/jme3-effects/src/main/java/com/jme3/post/filters/RadialBlurFilter.java index 3fb25b51e..5cb5a803e 100644 --- a/jme3-effects/src/main/java/com/jme3/post/filters/RadialBlurFilter.java +++ b/jme3-effects/src/main/java/com/jme3/post/filters/RadialBlurFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -63,7 +63,7 @@ public class RadialBlurFilter extends Filter { /** * Creates a RadialBlurFilter * @param sampleDist the distance between samples - * @param sampleStrength the strenght of each sample + * @param sampleStrength the strength of each sample */ public RadialBlurFilter(float sampleDist, float sampleStrength) { this();