You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2012/10/24 22:31:29 UTC

svn commit: r1401863 - in /felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal: LocalizedBase.java LocalizedObjectClassDefinition.java

Author: fmeschbe
Date: Wed Oct 24 20:31:27 2012
New Revision: 1401863

URL: http://svn.apache.org/viewvc?rev=1401863&view=rev
Log:
JavaDoc fixes

Modified:
    felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedBase.java
    felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedObjectClassDefinition.java

Modified: felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedBase.java
URL: http://svn.apache.org/viewvc/felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedBase.java?rev=1401863&r1=1401862&r2=1401863&view=diff
==============================================================================
--- felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedBase.java (original)
+++ felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedBase.java Wed Oct 24 20:31:27 2012
@@ -1,4 +1,4 @@
-/* 
+/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -35,7 +35,7 @@ abstract class LocalizedBase
 
     /**
      * The {@link Resources} used to localize strings.
-     * 
+     *
      * @see #localize(String)
      * @see #localize(String[])
      */
@@ -44,10 +44,10 @@ abstract class LocalizedBase
 
     /**
      * Sets up this class using the given <code>ResourceBundle</code>.
-     * 
+     *
      * @param resources The {@link Resources} used to localize return values of
      * localizable methods.
-     *      
+     *
      * @throws NullPointerException If <code>resources</code> is
      *      <code>null</code>.
      */
@@ -74,9 +74,9 @@ abstract class LocalizedBase
      * Calls {@link #localize(String)} for each string in the array and returns
      * an array of the resulting localized strings. If <code>strings</code> is
      * <code>null</code> <code>null</code> is returned.
-     * 
+     *
      * @param strings An array of non-<code>null</code> strings to localize.
-     * 
+     *
      * @return <code>null</code> if <code>strings</code> is <code>null</code> or
      *      an array of the same size as the <code>strings</code> array
      *      containing localized strings.
@@ -99,7 +99,7 @@ abstract class LocalizedBase
 
     /**
      * Localizes the string using the
-     * {@link #getResourceBundle() ResourceBundle} set on this instance if
+     * {@linkplain #getResources() resources} set on this instance if
      * string starts with the percent character (<code>%</code>). If the
      * string is <code>null</code>, does not start with a percent character
      * or the resource whose key is the string without the leading the percent
@@ -140,7 +140,7 @@ abstract class LocalizedBase
      *   <td>resource</td>
      *  </tr>
      * </table>
-     * 
+     *
      * @param string The string to localize
      * @return The localized string
      */

Modified: felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedObjectClassDefinition.java
URL: http://svn.apache.org/viewvc/felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedObjectClassDefinition.java?rev=1401863&r1=1401862&r2=1401863&view=diff
==============================================================================
--- felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedObjectClassDefinition.java (original)
+++ felix/trunk/metatype/src/main/java/org/apache/felix/metatype/internal/LocalizedObjectClassDefinition.java Wed Oct 24 20:31:27 2012
@@ -113,8 +113,6 @@ public class LocalizedObjectClassDefinit
 
 
     /**
-     * @param size
-     * @throws IOException
      * @see org.osgi.service.metatype.ObjectClassDefinition#getIcon(int)
      */
     public InputStream getIcon( int desiredSize ) throws IOException