diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 19:41:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 05:59:24 -0600 |
commit | faabee67550fb8eaebe5f58e224508de81d2c641 (patch) | |
tree | 102b91054825b5ff7af4f72905322d39de84f97d /qadevOOo/runner/helper | |
parent | e90c27f5e180f58997026c69aa746498aa995823 (diff) |
Remove visual noise from qadevOOo
Change-Id: I3d65145422039d629d2375c9fef030cd6ee41124
Reviewed-on: https://gerrit.libreoffice.org/8291
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'qadevOOo/runner/helper')
-rw-r--r-- | qadevOOo/runner/helper/ConfigHelper.java | 12 | ||||
-rw-r--r-- | qadevOOo/runner/helper/FileTools.java | 4 | ||||
-rw-r--r-- | qadevOOo/runner/helper/ProcessHandler.java | 2 | ||||
-rw-r--r-- | qadevOOo/runner/helper/StreamSimulator.java | 26 | ||||
-rw-r--r-- | qadevOOo/runner/helper/URLHelper.java | 12 |
5 files changed, 28 insertions, 28 deletions
diff --git a/qadevOOo/runner/helper/ConfigHelper.java b/qadevOOo/runner/helper/ConfigHelper.java index bbef1cff9646..8c81f8a80276 100644 --- a/qadevOOo/runner/helper/ConfigHelper.java +++ b/qadevOOo/runner/helper/ConfigHelper.java @@ -88,7 +88,7 @@ public class ConfigHelper private XMultiServiceFactory m_xSMGR = null; private XHierarchicalNameAccess m_xConfig = null; - //----------------------------------------------- + public ConfigHelper(XMultiServiceFactory xSMGR , String sConfigPath , boolean bReadOnly ) @@ -124,7 +124,7 @@ public class ConfigHelper throw new com.sun.star.uno.Exception("Could not open configuration \""+sConfigPath+"\""); } - //----------------------------------------------- + public Object readRelativeKey(String sRelPath, String sKey ) throws com.sun.star.container.NoSuchElementException @@ -142,7 +142,7 @@ public class ConfigHelper } } - //----------------------------------------------- + public void writeRelativeKey(String sRelPath, String sKey , Object aValue ) @@ -161,7 +161,7 @@ public class ConfigHelper } } - //----------------------------------------------- + /** * Updates the configuration.<p> * This must be called after you have changed the configuration @@ -180,7 +180,7 @@ public class ConfigHelper {} } - //----------------------------------------------- + public static Object readDirectKey(XMultiServiceFactory xSMGR , String sConfigFile, String sRelPath , @@ -191,7 +191,7 @@ public class ConfigHelper return aConfig.readRelativeKey(sRelPath, sKey); } - //----------------------------------------------- + public static void writeDirectKey(XMultiServiceFactory xSMGR , String sConfigFile, String sRelPath , diff --git a/qadevOOo/runner/helper/FileTools.java b/qadevOOo/runner/helper/FileTools.java index 760da29c07f8..8ce58e29f53a 100644 --- a/qadevOOo/runner/helper/FileTools.java +++ b/qadevOOo/runner/helper/FileTools.java @@ -117,11 +117,11 @@ public class FileTools { * @param dir the directory to clean from content */ // public static boolean cleanDir(File dir){ - // + // boolean success = true; // if (dir.isDirectory()){ // File [] theFiles = dir.listFiles(); - // + // if (theFiles.length != 0 ) // for (int i = 0; i < theFiles.length; i++){ // success &= theFiles[i].delete(); diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index c70dd1d3be19..acc7cfee80c3 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -861,7 +861,7 @@ public class ProcessHandler { bUseOutput = false; } - // ------------------------------------------------------------------------- + class ProcessWatcher extends Thread { diff --git a/qadevOOo/runner/helper/StreamSimulator.java b/qadevOOo/runner/helper/StreamSimulator.java index ad4dfc903a26..e2884044df07 100644 --- a/qadevOOo/runner/helper/StreamSimulator.java +++ b/qadevOOo/runner/helper/StreamSimulator.java @@ -35,7 +35,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , com.sun.star.io.XOutputStream , com.sun.star.io.XSeekable { - //_________________________________ + /** * @member m_sFileName name of the corrsponding file on disk * @member m_xInStream the internal input stream for reading @@ -56,7 +56,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , public boolean m_bInWasUsed ; public boolean m_bOutWasUsed ; - //_________________________________ + /** * construct a new instance of this class * It set the name of the correspojnding file on disk, which @@ -124,7 +124,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , ////m_aProtocol.log("finalize was called. Please check if it was right or not.\n"); } */ - //_________________________________ + /** * following methods simulates the XInputStream. * The notice all actions inside the internal protocol @@ -167,7 +167,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , return nRead; } - //_________________________________ + public int readSomeBytes( /*OUT*/ byte[][] lData , /*IN*/ int nMaxBytesToRead ) throws com.sun.star.io.NotConnectedException , @@ -205,7 +205,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , return nRead; } - //_________________________________ + public void skipBytes( /*IN*/ int nBytesToSkip ) throws com.sun.star.io.NotConnectedException , com.sun.star.io.BufferSizeExceededException , @@ -236,7 +236,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + public int available() throws com.sun.star.io.NotConnectedException, com.sun.star.io.IOException @@ -266,7 +266,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , return nAvailable; } - //_________________________________ + public void closeInput() throws com.sun.star.io.NotConnectedException, com.sun.star.io.IOException @@ -294,7 +294,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + /** * following methods simulates the XOutputStream. * The notice all actions inside the internal protocol @@ -330,7 +330,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + public void flush() throws com.sun.star.io.NotConnectedException , com.sun.star.io.BufferSizeExceededException , @@ -360,7 +360,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + public void closeOutput() throws com.sun.star.io.NotConnectedException , com.sun.star.io.BufferSizeExceededException, @@ -391,7 +391,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + /** * following methods simulates the XSeekable. * The notice all actions inside the internal protocol @@ -431,7 +431,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , //m_aProtocol.log("\tOK\n}\n"); } - //_________________________________ + public long getPosition() throws com.sun.star.io.IOException { @@ -465,7 +465,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream , return nPos; } - //_________________________________ + public long getLength() throws com.sun.star.io.IOException { diff --git a/qadevOOo/runner/helper/URLHelper.java b/qadevOOo/runner/helper/URLHelper.java index d4504f81359b..58a481b3f421 100644 --- a/qadevOOo/runner/helper/URLHelper.java +++ b/qadevOOo/runner/helper/URLHelper.java @@ -38,7 +38,7 @@ import com.sun.star.util.XURLTransformer; */ public class URLHelper { - // ____________________ + /** * Because the office need URLs for loading/saving documents @@ -79,7 +79,7 @@ public class URLHelper return sFileURL; } - // ____________________ + /** * The same as getFileURLFromSystemPath() before but uses string parameter instead @@ -98,7 +98,7 @@ public class URLHelper return getFileURLFromSystemPath(new File(sSystemPath)); } - // ____________________ + /** * Does the same as getFileURLFromSystemPath() before ... but uses @@ -144,7 +144,7 @@ public class URLHelper return sURL; } - // ____________________ + /** * The same as getURLWithProtocolFromSystemPath() before but uses string parameter instead @@ -177,7 +177,7 @@ public class URLHelper return getURLWithProtocolFromSystemPath(new File(sSystemPath), new File(sBasePath), sServerPath); } - // ____________________ + /** * This convert an URL (formated as a string) to a struct com.sun.star.util.URL. @@ -225,7 +225,7 @@ public class URLHelper return aURL; } - //_________________________________ + /** * Return a name list of all available files of a directory. * We filter pure sub directories names. All other files |