Author: sebb
Date: Sun Nov 11 14:03:03 2007
New Revision: 593969

URL: http://svn.apache.org/viewvc?rev=593969&view=rev
Log:
Privatise all methods that aren't needed externally.

Modified:
    jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/OldSaveService.java

Modified: 
jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/OldSaveService.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/OldSaveService.java?rev=593969&r1=593968&r2=593969&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/OldSaveService.java 
(original)
+++ jakarta/jmeter/trunk/src/core/org/apache/jmeter/save/OldSaveService.java 
Sun Nov 11 14:03:03 2007
@@ -159,7 +159,7 @@
                return configs;
        }
 
-       public static Configuration getConfiguration(byte[] bin) {
+       private static Configuration getConfiguration(byte[] bin) {
                DefaultConfiguration config = new DefaultConfiguration(BINARY, 
"JMeter Save Service"); // $NON-NLS-1$
 
                try {
@@ -170,7 +170,7 @@
                return config;
        }
 
-       public static byte[] getBinaryData(Configuration config) {
+       private static byte[] getBinaryData(Configuration config) {
                if (config == null) {
                        return new byte[0];
                }
@@ -181,7 +181,7 @@
                }
        }
 
-       public static AssertionResult getAssertionResult(Configuration config) {
+       private static AssertionResult getAssertionResult(Configuration config) 
{
                AssertionResult result = new AssertionResult(""); //TODO 
provide proper name?
                result.setError(config.getAttributeAsBoolean(ERROR, false));
                result.setFailure(config.getAttributeAsBoolean(FAILURE, false));
@@ -189,7 +189,7 @@
                return result;
        }
 
-       public static Configuration getConfiguration(AssertionResult assResult) 
{
+       private static Configuration getConfiguration(AssertionResult 
assResult) {
                DefaultConfiguration config = new 
DefaultConfiguration(ASSERTION_RESULT_TAG_NAME, "JMeter Save Service");
 
                config.setAttribute(FAILURE_MESSAGE, 
assResult.getFailureMessage());
@@ -267,7 +267,7 @@
                return config;
        }
 
-       public static Configuration getConfigForTestElement(String named, 
TestElement item) {
+       private static Configuration getConfigForTestElement(String named, 
TestElement item) {
                TestElementSaver saver = new TestElementSaver(named);
                item.traverse(saver);
                Configuration config = saver.getConfiguration();
@@ -325,7 +325,7 @@
                }
        }
 
-       public static TestElement createTestElement(Configuration config) 
throws ConfigurationException,
+       private static TestElement createTestElement(Configuration config) 
throws ConfigurationException,
                        ClassNotFoundException, IllegalAccessException, 
InstantiationException {
                TestElement element = null;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to