From ce730e56565965789c0dd8df6af2c5956e6fdac6 Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Mon, 25 Feb 2019 19:52:39 -0800 Subject: [PATCH] jme3-android JavaDoc corrections (comments only) --- .../main/java/com/jme3/app/AndroidHarnessFragment.java | 10 +++++----- .../java/com/jme3/app/state/VideoRecorderAppState.java | 3 +-- .../java/com/jme3/renderer/android/RendererUtil.java | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/jme3-android/src/main/java/com/jme3/app/AndroidHarnessFragment.java b/jme3-android/src/main/java/com/jme3/app/AndroidHarnessFragment.java index fed2d8863..7b2bf180f 100644 --- a/jme3-android/src/main/java/com/jme3/app/AndroidHarnessFragment.java +++ b/jme3-android/src/main/java/com/jme3/app/AndroidHarnessFragment.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2015 jMonkeyEngine + * Copyright (c) 2009-2019 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -125,7 +125,7 @@ public class AndroidHarnessFragment extends Fragment implements /** * Set the maximum resolution for the surfaceview in either the * width or height screen direction depending on the screen size. - * If the surfaceview is retangular, the longest side (width or height) + * If the surfaceview is rectangular, the longest side (width or height) * will have the resolution set to a maximum of maxResolutionDimension. * The other direction will be set to a value that maintains the aspect * ratio of the surfaceview.
@@ -276,17 +276,17 @@ public class AndroidHarnessFragment extends Fragment implements } /** - * Called by the system to create the View hierchy associated with this + * Called by the system to create the View hierarchy associated with this * Fragment. For jME, this is a FrameLayout that contains the GLSurfaceView * and an overlaying SplashScreen Image (if used). The View that is returned - * will be placed on the screen within the boundries of the View borders defined + * will be placed on the screen within the boundaries of the View borders defined * by the Activity's layout parameters for this Fragment. For jME, we also * update the application reference to the new view. * * @param inflater * @param container * @param savedInstanceState - * @return + * @return the new view */ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { diff --git a/jme3-android/src/main/java/com/jme3/app/state/VideoRecorderAppState.java b/jme3-android/src/main/java/com/jme3/app/state/VideoRecorderAppState.java index 47d0e36ca..f89a49879 100644 --- a/jme3-android/src/main/java/com/jme3/app/state/VideoRecorderAppState.java +++ b/jme3-android/src/main/java/com/jme3/app/state/VideoRecorderAppState.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2019 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -123,7 +123,6 @@ public class VideoRecorderAppState extends AbstractAppState { * This constructor allows you to specify the output file of the video as well as the quality * @param file the video file * @param quality the quality of the jpegs in the video stream (0.0 smallest file - 1.0 largest file) - * @param framerate the frame rate of the resulting video, the application will be locked to this framerate */ public VideoRecorderAppState(File file, float quality) { this.file = file; diff --git a/jme3-android/src/main/java/com/jme3/renderer/android/RendererUtil.java b/jme3-android/src/main/java/com/jme3/renderer/android/RendererUtil.java index f43dd2d57..5f9c84292 100644 --- a/jme3-android/src/main/java/com/jme3/renderer/android/RendererUtil.java +++ b/jme3-android/src/main/java/com/jme3/renderer/android/RendererUtil.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2015 jMonkeyEngine + * Copyright (c) 2009-2019 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -38,7 +38,7 @@ import javax.microedition.khronos.egl.EGL10; import javax.microedition.khronos.egl.EGL11; /** - * Utility class used by the {@link OGLESShaderRenderer renderer} and sister + * Utility class used by the OGLESShaderRenderer and sister * classes. * * @author Kirill Vainer