Skip to content

Commit 2c66130

Browse files
committed
Javadoc fixes
1 parent 10bf292 commit 2c66130

File tree

252 files changed

+1783
-1406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+1783
-1406
lines changed

release-build.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@
9090
windowtitle="NASA WorldWind" doctitle="NASA WorldWind" header="NASA WorldWind"
9191
splitindex="true" protected="true" nodeprecated="true" version="false" author="false" use="true"
9292
maxmemory="1024m">
93+
<arg value="-Xmaxerrs" />
94+
<arg value="10000" />
95+
<arg value="-Xmaxwarns" />
96+
<arg value="10000" />
9397
<packageset dir="${worldwind.src.dir}" defaultexcludes="yes">
9498
<include name="gov/nasa/worldwind/**"/>
9599
<include name="gov/nasa/worldwindx/**"/>

src/gov/nasa/worldwind/Configuration.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,8 +502,8 @@ public static String getSystemTempDirectory()
502502
* Returns the path to the current user's application data directory. The path returned depends on the operating
503503
* system on which the Java Virtual Machine is running. The following table provides the path for all supported
504504
* operating systems:
505-
* <p>
506-
* <table> <tr><th>Operating System</th><th>Path</th></tr> <tr><td>Mac OS X</td><td>~/Library/Application
505+
* <table><caption style="font-weight: bold;">Mapping</caption>
506+
* <tr><th>Operating System</th><th>Path</th></tr> <tr><td>Mac OS X</td><td>~/Library/Application
507507
* Support</td></tr> <tr><td>Windows</td><td>~\\Application Data</td></tr> <tr><td>Linux, Unix,
508508
* Solaris</td><td>~/</td></tr> </table>
509509
*
@@ -647,7 +647,6 @@ public static float getJavaVersion()
647647
* Returns the highest OpenGL profile available on the current graphics device that is compatible with WorldWind.
648648
* The returned profile favors hardware acceleration over software acceleration. With JOGL version 2.0, this returns
649649
* the highest available profile from the following list:
650-
* <p>
651650
* <ul> <li>OpenGL compatibility profile 4.x</li> <li>OpenGL compatibility profile 3.x</li> <li>OpenGL profile 1.x
652651
* up to 3.0</li> </ul>
653652
*

src/gov/nasa/worldwind/View.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
* Most of the accessor and computation methods on <code>View</code> will use viewing state computed in the last call to
2323
* {@link #apply(gov.nasa.worldwind.render.DrawContext) apply}.
2424
* <p>
25-
* The following methods return state values <i>updated in the most recent call to apply</i>. <code> <ul>
25+
* The following methods return state values <i>updated in the most recent call to apply</i>. <ul>
2626
* <li>getEyePosition</li> <li>getEyePoint</li> <li>getUpVector</li> <li>getForwardVector</li>
2727
* <li>getModelviewMatrix</li> <li>getViewport</li> <li>getFrustum</li> <li>getFrustumInModelCoordinates</li>
28-
* <li>getProjectionMatrix</li> </code> </ul>
28+
* <li>getProjectionMatrix</li> </ul>
2929
* <p>
3030
* The following methods return computed values using state that was updated in the most recent call to
31-
* <code>apply</code>. <code> <ul> <li>project</li> <li>unproject</li> <li>computeRayFromScreenPoint</li>
31+
* <code>apply</code>. <ul> <li>project</li> <li>unproject</li> <li>computeRayFromScreenPoint</li>
3232
* <li>computePositionFromScreenPoint</li> <li>computePixelSizeAtDistance</li> <li>computeHorizonDistance</li> </ul>
33-
* </code>
33+
*
3434
*
3535
* @author Paul Collins
3636
* @version $Id: View.java 1171 2013-02-11 21:45:02Z dcollins $

src/gov/nasa/worldwind/WorldWind.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public static Object createComponent(String className) throws WWRuntimeException
232232
* @return the new component
233233
*
234234
* @throws IllegalStateException if no name could be found which corresponds to <code>classNameKey</code>
235-
* @throws IllegalArgumentException if <code>classNameKey<code> is null
235+
* @throws IllegalArgumentException if <code>classNameKey</code> is null
236236
* @throws WWRuntimeException if the component could not be created
237237
*/
238238
public static Object createConfigurationComponent(String classNameKey)

src/gov/nasa/worldwind/WorldWindowGLAutoDrawable.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ protected void reinitialize(GLAutoDrawable glAutoDrawable)
259259
* GLEventListener's dispose method indicates that the GL context has been released, and provides the listener an
260260
* opportunity to clean up any resources. Dispose does not imply that the component's lifecycle has ended or that
261261
* the application is closing. There are three cases in which dispose may be called:
262-
* <p>
263262
* <ul> <li>The WorldWindow is removed from its parent component.</li> <li>The WorldWindow's parent frame is
264263
* closed.</li> <li>The application calls either GLCanvas.dispose or GLJPanel.dispose.</li> </ul>
265264
* <p>

src/gov/nasa/worldwind/WorldWindowImpl.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -321,15 +321,19 @@ public static GpuResourceCache createGpuResourceCache()
321321
}
322322

323323
/**
324-
* Configures JOGL's surface pixel scaling on the specified <code>ScalableSurface</code> to ensure backward
325-
* compatibility with WorldWind applications developed prior to JOGL pixel scaling's introduction. This method is
326-
* used by <code>GLCanvas</code> and <code>GLJPanel</code> to effectively disable JOGL's surface pixel scaling by
327-
* requesting a 1:1 scale.
328-
* <p>
329-
* Since v2.2.0, JOGL defaults to using high-dpi pixel scales where possible. This causes WorldWind screen elements
330-
* such as placemarks, the compass, the world map, the view controls, and the scale bar (plus many more) to appear
331-
* smaller than they are intended to on screen. The high-dpi default also has the effect of degrading WorldWind
332-
* rendering performance.
324+
* Configures JOGL's surface pixel scaling on the specified
325+
* <code>ScalableSurface</code> to ensure backward compatibility with
326+
* WorldWind applications developed prior to JOGL pixel scaling's
327+
* introduction.This method is used by <code>GLCanvas</code> and
328+
* <code>GLJPanel</code> to effectively disable JOGL's surface pixel scaling
329+
* by requesting a 1:1 scale.<p>
330+
* Since v2.2.0, JOGL defaults to using high-dpi pixel scales where
331+
* possible. This causes WorldWind screen elements such as placemarks, the
332+
* compass, the world map, the view controls, and the scale bar (plus many
333+
* more) to appear smaller than they are intended to on screen. The high-dpi
334+
* default also has the effect of degrading WorldWind rendering performance.
335+
*
336+
* @param surface The surface to configure.
333337
*/
334338
public static void configureIdentityPixelScale(ScalableSurface surface)
335339
{

src/gov/nasa/worldwind/animation/AnimationSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static long getScaledTimeMillisecs(
8080
* Calculate the angular ratio between two angles
8181
* @param x The numerator
8282
* @param y The denominator
83-
* @return The angular ratio of <code>x/y></code>
83+
* @return The angular ratio of <code>x/y</code>
8484
*/
8585
public static double angularRatio(Angle x, Angle y)
8686
{

src/gov/nasa/worldwind/cache/BasicDataFileStore.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public class BasicDataFileStore extends AbstractFileStore
5454
* list to find the content type matching the cached file.
5555
* <p>
5656
* This is initialized to the following list of default content types typically used in WorldWind applications:
57-
* <p>
5857
* <ul> <li>application/vnd.google-earth.kml+xml</li> <li>application/vnd.google-earth.kmz</li>
5958
* <li>model/collada+xml</li> <li>image/dds</li> <li>image/gif</li> <li>image/jpeg</li> <li>image/jpg</li>
6059
* <li>image/png</li> </ul>
@@ -775,7 +774,6 @@ protected String makeSuffix(String path, String contentType)
775774
* <p>
776775
* This removes the key, the value, and any trailing parameter delimiter of all private parameters in the specified
777776
* query string. Recognized private query parameters are as follows:
778-
* <p>
779777
* <ul> <li>CONNECTID</li> </ul>
780778
*
781779
* @param queryString the query string to examine.

src/gov/nasa/worldwind/cache/BasicRasterServerCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* The <code>BasicRasterServerCache</code> is an implementation of the memory cache that is specific to store maximum
2222
* possible cacheable items, until the heap size allows. Once the memory limit is hit, it will drop ALL cached items.
2323
* Also, BasicRasterServerCache creates a pruner thread that removes all cached items which were not used for 20 seconds
24-
* or more. The least recent use timeout is configurable via the <code>setLeastRecentUseTimeout()<code> method. In
24+
* or more. The least recent use timeout is configurable via the <code>setLeastRecentUseTimeout()</code> method. In
2525
* addition, the <code>BasicRasterServerCache</code> allocates 100MB memory and keeps only a phantom reference to the
2626
* allocated 100M memory. Once any part of the application needs more memory the phantom referenced memory will be
2727
* immediately released and the phantom reference will be added to the internal reference queue, which is monitored by

src/gov/nasa/worldwind/cache/MemoryCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public interface CacheListener
5757
void removeCacheListener(CacheListener listener);
5858

5959
/**
60-
* Discovers whether or not this cache contains the object referenced by <code> key. Currently no interface exists
60+
* Discovers whether or not this cache contains the object referenced by <code> key </code>. Currently no interface exists
6161
* to discover if an object resides in the cache by referencing itself.
6262
*
6363
* @param key the key which the object is referenced by.

0 commit comments

Comments
 (0)