summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-08-08 13:53:54 +0200
commit2beba8f93e7991372dd45351c92c50f7850dc46a (patch)
tree15dfae00223ccc7fdbfe2e06a3d931b97fded890 /odk
parent49ad17e2b1aef65fad357b9c540ab36189233dd3 (diff)
reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java7
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java6
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java6
-rw-r--r--odk/examples/java/EmbedDocument/Container1/EmbedContApp.java1
4 files changed, 1 insertions, 19 deletions
diff --git a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
index 790a52d46fb1..6b53ece9d3c9 100644
--- a/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
+++ b/odk/examples/DevelopersGuide/Components/Addons/JobsAddon/AsyncJob.java
@@ -32,8 +32,6 @@
*
*************************************************************************/
-//_______________________________________________
-// imports
import com.sun.star.uno.XComponentContext;
import com.sun.star.lib.uno.helper.Factory;
import com.sun.star.lib.uno.helper.WeakBase;
@@ -45,9 +43,6 @@ import com.sun.star.uno.*;
import java.lang.*;
import javax.swing.*;
-//_______________________________________________
-// implementation
-
/** it implements a simple job component.
*
* Such jobs are executable in different ways:
@@ -58,8 +53,6 @@ import javax.swing.*;
*/
public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
{
- //___________________________________________
- // const
public final XComponentContext m_xCmpCtx;
/** the const list of supported uno service names. */
diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
index f71260aeab15..1f88a25ecb57 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java
@@ -31,7 +31,6 @@
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*************************************************************************/
-// __________ Imports __________
import com.sun.star.uno.UnoRuntime;
@@ -41,8 +40,6 @@ import java.lang.String;
import java.awt.event.*;
import java.awt.*;
-// __________ Implementation __________
-
/**
* Makes it possible to change some states of currently loaded
* document (e.g. enable/disable menubar, toolbar, objectbar)
@@ -52,9 +49,6 @@ import java.awt.*;
public class CustomizeView extends JPanel
implements IShutdownListener
{
- // ____________________
- // const
-
/**
* These const URL's describe feature for toggling some properties of loaded document.
* Dispatch it with the corresponding parameter to the frame.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 475fb4963dbc..9a8bad5e183c 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -75,9 +75,6 @@ import com.sun.star.lang.IllegalArgumentException;
public class AsciiReplaceFilter
{
-
-
-
public static class _AsciiReplaceFilter extends WeakBase
implements XInitialization ,
XServiceInfo ,
@@ -86,8 +83,7 @@ public class AsciiReplaceFilter
XExporter ,
XFilter
{
- //______________________________
- // const
+
// the supported service names, the first one being the service name of the component itself
public static final String[] m_serviceNames = { "com.sun.star.comp.ansifilter.AsciiReplaceFilter" , "com.sun.star.document.ImportFilter", "com.sun.star.document.ExportFilter" };
diff --git a/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java b/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
index bed7cdb078ef..63ad80f0e0b8 100644
--- a/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
+++ b/odk/examples/java/EmbedDocument/Container1/EmbedContApp.java
@@ -254,7 +254,6 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
// for now nothing to do
}
- // classes
class NewMenuItem extends MenuItem implements ActionListener // Menu New
{
public NewMenuItem()