Normalize setter Javadoc
This commit is contained in:
@@ -1636,7 +1636,7 @@ public abstract class LogFactory {
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Set the configuration attribute with the specified name. Calling
|
||||
* Sets the configuration attribute with the specified name. Calling
|
||||
* this with a {@code null} value is equivalent to calling
|
||||
* {@code removeAttribute(name)}.
|
||||
*
|
||||
|
||||
@@ -200,7 +200,7 @@ public class LogSource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the log implementation/log implementation factory by class. The given class must implement {@link Log}, and provide a constructor that takes a single
|
||||
* Sets the log implementation/log implementation factory by class. The given class must implement {@link Log}, and provide a constructor that takes a single
|
||||
* {@link String} argument (containing the name of the log).
|
||||
*
|
||||
* @param logclass class.
|
||||
@@ -219,7 +219,7 @@ public class LogSource {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the log implementation/log implementation factory by the name of the class. The given class must implement {@link Log}, and provide a constructor
|
||||
* Sets the log implementation/log implementation factory by the name of the class. The given class must implement {@link Log}, and provide a constructor
|
||||
* that takes a single {@link String} argument (containing the name of the log).
|
||||
*
|
||||
* @param className class name.
|
||||
|
||||
@@ -1353,7 +1353,7 @@ public class LogFactoryImpl extends LogFactory {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the configuration attribute with the specified name. Calling
|
||||
* Sets the configuration attribute with the specified name. Calling
|
||||
* this with a {@code null} value is equivalent to calling
|
||||
* {@code removeAttribute(name)}.
|
||||
* <p>
|
||||
|
||||
@@ -595,7 +595,7 @@ public class SimpleLog implements Log, Serializable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set logging level.
|
||||
* Sets logging level.
|
||||
*
|
||||
* @param currentLogLevel new logging level
|
||||
*/
|
||||
|
||||
@@ -41,7 +41,7 @@ public class AltHashtableTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up before each test.
|
||||
* Sets up before each test.
|
||||
* <p>
|
||||
* This method ensures that the appropriate system property is defined
|
||||
* to force the LogFactory class to use the AltHashtable class as its
|
||||
|
||||
@@ -21,7 +21,7 @@ import org.apache.commons.logging.impl.LogFactoryImpl;
|
||||
public class UserClass {
|
||||
|
||||
/**
|
||||
* Set the ALLOW_FLAWED_CONTEXT feature on the LogFactoryImpl object
|
||||
* Sets the ALLOW_FLAWED_CONTEXT feature on the LogFactoryImpl object
|
||||
* associated with this class' classloader.
|
||||
* <p>
|
||||
* Don't forget to set the context classloader to whatever it will be
|
||||
|
||||
@@ -85,7 +85,7 @@ public class FirstPriorityConfigTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -103,7 +103,7 @@ public class PriorityConfigTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -264,7 +264,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
||||
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -90,7 +90,7 @@ public class DefaultConfigTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -119,7 +119,7 @@ public abstract class StandardTests extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -104,7 +104,7 @@ public class StandardTestCase extends AbstractLogTest {
|
||||
// ----------------------------------------------------------- Test Methods
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -62,7 +62,7 @@ public class NoOpLogTestCase extends AbstractLogTest
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -43,7 +43,7 @@ import org.apache.commons.logging.PathableTestSuite;
|
||||
public class ChildFirstTestCase extends TestCase {
|
||||
|
||||
/**
|
||||
* Set up a custom classloader hierarchy for this test case.
|
||||
* Sets up a custom classloader hierarchy for this test case.
|
||||
* The hierarchy is:
|
||||
* <ul>
|
||||
* <li> contextloader: child-first.
|
||||
|
||||
@@ -57,7 +57,7 @@ public class GeneralTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up a custom classloader hierarchy for this test case.
|
||||
* Sets up a custom classloader hierarchy for this test case.
|
||||
*/
|
||||
public static Test suite() throws Exception {
|
||||
final Class thisClass = GeneralTestCase.class;
|
||||
|
||||
@@ -45,7 +45,7 @@ import org.apache.commons.logging.PathableTestSuite;
|
||||
public class ParentFirstTestCase extends TestCase {
|
||||
|
||||
/**
|
||||
* Set up a custom classloader hierarchy for this test case.
|
||||
* Sets up a custom classloader hierarchy for this test case.
|
||||
* The hierarchy is:
|
||||
* <ul>
|
||||
* <li> contextloader: parent-first.
|
||||
|
||||
@@ -178,7 +178,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set system properties that will control the LogFactory/Log objects
|
||||
* Sets system properties that will control the LogFactory/Log objects
|
||||
* when they are created. Subclasses can override this method to
|
||||
* define properties that suit them.
|
||||
*/
|
||||
@@ -193,7 +193,7 @@ public class CustomConfigTestCase extends DefaultConfigTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -82,7 +82,7 @@ public class DateTimeCustomConfigTestCase extends CustomConfigTestCase {
|
||||
// ----------------------------------------------------------- Methods
|
||||
|
||||
/**
|
||||
* Set up system properties required by this unit test. Here, we
|
||||
* Sets up system properties required by this unit test. Here, we
|
||||
* set up the props defined in the parent class setProperties method,
|
||||
* and add a few to configure the SimpleLog class date/time output.
|
||||
*/
|
||||
@@ -99,7 +99,7 @@ public class DateTimeCustomConfigTestCase extends CustomConfigTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -121,7 +121,7 @@ public class DefaultConfigTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set system properties that will control the LogFactory/Log objects
|
||||
* Sets system properties that will control the LogFactory/Log objects
|
||||
* when they are created. Subclasses can override this method to
|
||||
* define properties that suit them.
|
||||
*/
|
||||
@@ -132,7 +132,7 @@ public class DefaultConfigTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -89,7 +89,7 @@ public class TcclDisabledTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -89,7 +89,7 @@ public class TcclEnabledTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -91,7 +91,7 @@ public class TcclDisabledTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
@@ -85,7 +85,7 @@ public class TcclEnabledTestCase extends TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@Override
|
||||
public void setUp() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user