Kaydet (Commit) 6595e392 authored tarafından Marcos Paulo de Souza's avatar Marcos Paulo de Souza Kaydeden (comit) Noel Power

fdo#51304: Remove the author of some java source files

This patch remove some '@author' for Java souce files, and removes some commented code founded
when removing the '@author'.

Change-Id: I7bff1507212e967069f3d18e6c1040f69501694a
Signed-off-by: 's avatarMarcos Paulo de Souza <marcos.souza.org@gmail.com>
üst 30dba815
......@@ -23,10 +23,6 @@ import com.sun.star.task.XInteractionRequest;
import static org.junit.Assert.*;
/**
*
* @author oj93728
*/
class CopyTableInterActionHandler extends WeakBase
implements XInteractionHandler
{
......
......@@ -29,10 +29,6 @@ import com.sun.star.uno.Exception;
import com.sun.star.uno.UnoRuntime;
import connectivity.tools.DatabaseAccess;
/**
*
* @author oj93728
*/
public class DatabaseApplication
{
......
......@@ -41,9 +41,6 @@ import com.sun.star.uri.XVndSunStarScriptUrl;
/**
* The <code>ParcelContainer</code> object is used to store the
* ScripingFramework specific Libraries.
*
* @author
* @created
*/
public class ParcelContainer implements XNameAccess
......
......@@ -26,8 +26,6 @@ import com.sun.star.uno.XComponentContext;
/**
* Class Loader Factory
*
* @author Noel Power
*/
public class ClassLoaderFactory
{
......
......@@ -25,12 +25,6 @@ import com.sun.star.document.XScriptInvocationContext;
import com.sun.star.script.provider.XScriptContext;
/**
* Description of the Class
*
* @author Noel Power
*/
public class EditorScriptContext implements XScriptContext
{
private XDesktop m_xDeskTop;
......@@ -43,7 +37,6 @@ public class EditorScriptContext implements XScriptContext
this.m_xDeskTop = xDesktop;
}
//----------------------------------------------------------------------
/**
Obtain the document reference on which the script can operate
......
......@@ -31,20 +31,8 @@ import com.sun.star.script.provider.XScriptContext;
import com.sun.star.script.framework.log.LogUtils;
/**
* Description of the Class
*
* @author Noel Power
*/
public class ScriptContext extends PropertySet implements XScriptContext
{
/**
* Description of the Class
*
* @author John Rice
*/
public final static String HM_DOC_REF = "DocumentReference";
public final static String HM_DESKTOP = "Desktop";
public final static String HM_COMPONENT_CONTEXT = "ComponentContext";
......
......@@ -22,8 +22,6 @@ package com.sun.star.script.framework.provider.java;
* The Resolver interface is an interface common to all classes which
* want to implement an algorithm for obtaining a ScriptProxy object
* for a particular ScriptDescriptor and Class
*
* @author Tomas O'Connor
*/
public interface Resolver {
......
......@@ -25,8 +25,6 @@ import java.util.StringTokenizer;
/**
* The <code>ScriptDescriptor</code> object is used to store the search
* criteria that should be used for finding a particular script
*
* @author Tomas O'Connor
*/
public class ScriptDescriptor
{
......@@ -36,7 +34,6 @@ public class ScriptDescriptor
private List<String> m_classpath;
private ArrayList<Class<?>> m_argumentTypes = new ArrayList<Class<?>>( 11 );
/**
* Constructs a ScriptDescriptor for the given name
*
......@@ -58,7 +55,6 @@ public class ScriptDescriptor
this.m_className = name.substring( 0, idx );
}
/**
* Gets the fully qualified name of this <code>ScriptDescriptor</code>
*
......
......@@ -42,18 +42,9 @@ import com.sun.star.script.framework.container.ScriptMetaData;
import com.sun.star.script.framework.provider.*;
import com.sun.star.script.framework.log.LogUtils;
/**
* Description of the Class
*
* @author Noel Power
*/
public class ScriptProviderForJava
{
/**
* Description of the Class
*
* @author Noel Power
*/
public static class _ScriptProviderForJava extends ScriptProvider
{
private Resolver m_resolutionPolicy = new StrictResolver();
......
......@@ -24,7 +24,6 @@ import java.lang.reflect.InvocationTargetException;
/**
* A ScriptProxy object acts as a proxy for a Java <code>Method</code>
*
* @author Tomas O'Connor
* @see java.lang.reflect.Method
*/
public class ScriptProxy
......
......@@ -27,8 +27,6 @@ import com.sun.star.script.framework.log.LogUtils;
* the Resolver strategy. It will only return a ScriptProxy object if a
* method accepting all of the arguments specified in the ScriptDescriptor
* can be found in the Class.
*
* @author Tomas O'Connor
*/
public class StrictResolver implements Resolver
{
......@@ -40,7 +38,6 @@ public class StrictResolver implements Resolver
LogUtils.DEBUG( this.getClass().getName() + " created" );
}
/**
* Returns a ScriptProxy object for the given ScriptDescriptor and Class.
* Only a strict match will be returned ie. where all of the arguments in
......
......@@ -43,7 +43,6 @@ import org.netbeans.editor.ext.java.*;
/**
* Java editor kit with appropriate document
*
* @author Miloslav Metelka
* @version 1.00
*/
......@@ -117,8 +116,6 @@ public class JavaKit extends ExtKit {
/**
* DataAccessor for parser DB files via URL streams
*
* @author Petr Nejedly
*/
public static class URLAccessor implements DataAccessor {
......
......@@ -24,8 +24,6 @@ import org.openide.util.RequestProcessor;
import org.openide.util.actions.CookieAction;
/**
*
* @author adams
* @version 1.0
*/
public class MountDocumentAction extends CookieAction
......
......@@ -24,8 +24,6 @@ import org.openide.util.RequestProcessor;
import org.openide.util.actions.CookieAction;
/**
*
* @author adams
* @version 1.0
*/
public class MountParcelAction extends CookieAction
......
......@@ -30,8 +30,6 @@ import org.openide.windows.CloneableOpenSupport;
import org.openoffice.netbeans.modules.office.loader.ParcelDescriptorDataObject;
/** Support for editing a data object as text.
*
* @author tomaso
*/
// Replace OpenCookie with EditCookie or maybe ViewCookie as desired:
public class ParcelDescriptorEditorSupport extends DataEditorSupport implements EditorCookie, OpenCookie, CloseCookie, PrintCookie {
......
......@@ -30,8 +30,6 @@ import org.openide.util.actions.SystemAction;
import org.openoffice.netbeans.modules.office.actions.MountDocumentAction;
/** Recognizes single files in the Repository as being of a certain type.
*
* @author tomaso
*/
public class OfficeDocumentDataLoader extends UniFileLoader {
......
......@@ -31,13 +31,10 @@ import org.openoffice.netbeans.modules.office.actions.OfficeDocumentCookie;
import org.openoffice.netbeans.modules.office.nodes.OfficeDocumentChildren;
/** A node to represent this object.
*
* @author tomaso
*/
public class OfficeDocumentDataNode extends DataNode {
public OfficeDocumentDataNode(OfficeDocumentDataObject obj) {
// this(obj, Children.LEAF);
this(obj, new OfficeDocumentChildren((OfficeDocumentCookie)
obj.getCookie(OfficeDocumentCookie.class)));
}
......
......@@ -26,8 +26,6 @@ import org.openide.util.NbBundle;
import org.openide.util.Utilities;
/** Description of {@link ParcelFolderDataLoader}.
*
* @author tomaso
*/
public class ParcelContentsFolderDataLoaderBeanInfo extends SimpleBeanInfo {
......
......@@ -31,8 +31,6 @@ import org.openoffice.netbeans.modules.office.actions.*;
import org.openoffice.idesupport.zip.ParcelZipper;
/** Recognizes single files in the Repository as being of a certain type.
*
* @author tomaso
*/
public class ParcelDataLoader extends UniFileLoader {
......
......@@ -26,8 +26,6 @@ import org.openide.util.NbBundle;
import org.openide.util.Utilities;
/** Description of {@link ParcelDataLoader}.
*
* @author tomaso
*/
public class ParcelDataLoaderBeanInfo extends SimpleBeanInfo {
......
......@@ -33,8 +33,6 @@ import org.openide.windows.OutputWriter;
import org.openoffice.netbeans.modules.office.actions.ParcelCookie;
/** A node to represent this object.
*
* @author tomaso
*/
public class ParcelDataNode extends DataNode {
......
......@@ -28,8 +28,6 @@ import org.openide.util.HelpCtx;
import org.openoffice.netbeans.modules.office.actions.*;
/** Represents a Parcel object in the Repository.
*
* @author tomaso
*/
public class ParcelDataObject extends MultiDataObject {
......
......@@ -29,8 +29,6 @@ import org.openide.util.actions.SystemAction;
import org.openoffice.idesupport.OfficeDocument;
/** Recognizes single files in the Repository as being of a certain type.
*
* @author tomaso
*/
public class ParcelDescriptorDataLoader extends UniFileLoader {
......
......@@ -26,8 +26,6 @@ import org.openide.util.NbBundle;
import org.openide.util.Utilities;
/** Description of {@link ParcelDescriptorDataLoader}.
*
* @author tomaso
*/
public class ParcelDescriptorDataLoaderBeanInfo extends SimpleBeanInfo {
......
......@@ -26,8 +26,6 @@ import org.openoffice.netbeans.modules.office.nodes.*;
import org.openoffice.netbeans.modules.office.actions.*;
/** A node to represent this object.
*
* @author tomaso
*/
public class ParcelDescriptorDataNode extends DataNode {
......
......@@ -29,8 +29,6 @@ import org.openoffice.netbeans.modules.office.actions.ParcelDescriptorEditorSupp
import org.openoffice.netbeans.modules.office.actions.ParcelDescriptorParserSupport;
/** Represents a ParcelDescriptor object in the Repository.
*
* @author tomaso
*/
public class ParcelDescriptorDataObject extends MultiDataObject {
......
......@@ -31,8 +31,6 @@ import org.openoffice.idesupport.zip.ParcelZipper;
import org.openoffice.netbeans.modules.office.actions.*;
/** Recognizes single files in the Repository as being of a certain type.
*
* @author tomaso
*/
public class ParcelFolderDataLoader extends UniFileLoader {
......
......@@ -26,8 +26,6 @@ import org.openide.util.NbBundle;
import org.openide.util.Utilities;
/** Description of {@link ParcelFolderDataLoader}.
*
* @author tomaso
*/
public class ParcelFolderDataLoaderBeanInfo extends SimpleBeanInfo {
......
......@@ -30,8 +30,6 @@ import org.openoffice.netbeans.modules.office.actions.ParcelDescriptorParserCook
/** List of children of a containing node.
* Remember to document what your permitted keys are!
*
* @author tomaso
*/
public class ParcelDescriptorChildren extends Children.Keys implements ChangeListener {
......
......@@ -27,8 +27,6 @@ import org.openide.util.NbBundle;
import org.openide.util.actions.SystemAction;
/** A simple node with no children.
*
* @author tomaso
*/
public class ScriptNode extends AbstractNode {
private Element element;
......
......@@ -31,8 +31,6 @@ import org.openoffice.idesupport.SVersionRCFile;
import org.openoffice.idesupport.OfficeInstallation;
/** Options for something or other.
*
* @author tomaso
*/
public class OfficeSettings extends SystemOption {
......
......@@ -32,8 +32,6 @@ import org.openoffice.idesupport.OfficeInstallation;
import org.openoffice.netbeans.modules.office.wizard.SelectPathPanel;
/** Description of {@link OfficeSettings}.
*
* @author tomaso
*/
public class OfficeSettingsBeanInfo extends SimpleBeanInfo {
......
......@@ -28,8 +28,6 @@ import org.openide.WizardDescriptor;
import org.openide.util.NbBundle;
/** A wizard descriptor.
*
* @author tomaso
*/
public class InstallationPathDescriptor extends WizardDescriptor {
......
......@@ -33,8 +33,6 @@ import org.openide.util.NbBundle;
/** A wizard iterator (sequence of panels).
* Used to create a wizard. Create one or more
* panels from template as needed too.
*
* @author tomaso
*/
public class InstallationPathIterator implements WizardDescriptor.Iterator {
......
......@@ -50,8 +50,6 @@ import org.openoffice.netbeans.modules.office.utils.PackageRemover;
* Associate this to a template inside a layer using the
* Sequence of Panels extra property.
* Create one or more panels from template as needed too.
*
* @author tomaso
*/
public class JavaScriptIterator implements TemplateWizard.Iterator {
......
......@@ -51,8 +51,6 @@ import org.openoffice.netbeans.modules.office.filesystem.OpenOfficeDocFileSystem
* Associate this to a template inside a layer using the
* Sequence of Panels extra property.
* Create one or more panels from template as needed too.
*
* @author tomaso
*/
public class ParcelContentsIterator implements TemplateWizard.Iterator {
......
......@@ -34,8 +34,6 @@ import org.openide.util.NbBundle;
/** A single panel descriptor for a wizard.
* You probably want to make a wizard iterator to hold it.
*
* @author tomaso
*/
public class ParcelPropertiesPanel implements WizardDescriptor.FinishPanel {
......
......@@ -21,8 +21,6 @@ package org.openoffice.netbeans.modules.office.wizard;
import org.openide.util.NbBundle;
/** A single panel for a wizard - the GUI portion.
*
* @author tomaso
*/
public class ParcelPropertiesVisualPanel extends javax.swing.JPanel {
......
......@@ -35,8 +35,6 @@ import org.openoffice.idesupport.SVersionRCFile;
/** A single panel descriptor for a wizard.
* You probably want to make a wizard iterator to hold it.
*
* @author tomaso
*/
public class SelectPathPanel implements WizardDescriptor.Panel /* .FinishPanel */ {
......
......@@ -30,8 +30,6 @@ import org.openoffice.idesupport.OfficeInstallation;
import org.openoffice.netbeans.modules.office.options.OfficeSettings;
/** A single panel for a wizard - the GUI portion.
*
* @author tomaso
*/
public class SelectPathVisualPanel extends javax.swing.JPanel {
......
......@@ -20,7 +20,6 @@ package installer;
import java.io.*;
import java.util.*;
//import javax.xml.parsers.*;
import javax.swing.*;
/**
......@@ -28,8 +27,6 @@ import javax.swing.*;
* file out of a jar file and parses it, providing access to this
* information in a <code>Vector</code> of <code>ConverterInfo</code>
* objects.
*
* @author Aidan Butler
*/
public class IdeUpdater extends Thread {
......@@ -52,19 +49,12 @@ public class IdeUpdater extends Thread {
if (installPath.endsWith(File.separator) == false)
installPath += File.separator;
//File jeditLauncher = new File( installPath + "jedit.jar" );
File netbeansLauncher = new File( installPath + "bin" );
if( netbeansLauncher.isDirectory() ) {
isNetbeansPath = true;
installPath = installPath +"modules" + File.separator;
}
/*
else if( jeditLauncher.isFile() ){
isNetbeansPath = false;
installPath = installPath + "jars" + File.separator;
}
*/
System.out.println( "IdeUpdater installPath is " + installPath + " isNetbeansPath is " + isNetbeansPath );
this.installPath = installPath;
......@@ -124,10 +114,6 @@ public class IdeUpdater extends Thread {
public void run() {
//InputStream istream;
//URL url;
//String fileName = null;
internalThread = Thread.currentThread();
progressBar.setString("Unzipping Required Files");
......@@ -154,9 +140,6 @@ public class IdeUpdater extends Thread {
}
}
//System.out.println("About to call register");
//Register.register(installPath+File.separator, statusLabel, progressBar);
statusLabel.setText("Installation Complete");
progressBar.setString("Installation Complete");
progressBar.setValue(10);
......
......@@ -23,11 +23,6 @@ import java.util.*;
import java.net.URL;
import javax.swing.*;
/**
*
*
* @author Aidan Butler
*/
public class XmlUpdater extends Thread {
private String classesPath = null;
......
......@@ -22,10 +22,6 @@ import com.sun.star.ucb.XContentEventListener;
import com.sun.star.ucb.XContentIdentifier;
import share.LogWriter;
/**
*
* @author sg128468
*/
public class _XContent {
public XContent oObj = null;
public LogWriter log = null;
......
......@@ -20,10 +20,6 @@ package complex.tdoc;
import com.sun.star.beans.XPropertyContainer;
import share.LogWriter;
/**
*
* @author sg128468
*/
public class _XPropertyContainer {
public XPropertyContainer oObj = null;
public LogWriter log = null;
......
......@@ -18,26 +18,14 @@
package complex.ucb;
/**
* @author ab106281
*
* To change the template for this generated type comment go to
* Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
*/
import java.util.List;
import java.util.ArrayList;
import com.sun.star.beans.Property;
import com.sun.star.sdbc.XResultSet;
import com.sun.star.sdbc.XRow;
// import com.sun.star.uno.XComponentContext;
import com.sun.star.ucb.*;
// import com.sun.star.bridge.XUnoUrlResolver;
import com.sun.star.uno.UnoRuntime;
// import com.sun.star.uno.XComponentContext;
// import com.sun.star.lang.XMultiComponentFactory;
// import com.sun.star.beans.XPropertySet;
import org.junit.AfterClass;
import org.junit.BeforeClass;
......@@ -46,7 +34,6 @@ import org.openoffice.test.OfficeConnection;
import static org.junit.Assert.*;
/**
* @author rpiterman
* This class is used to copy the content of a folder to
* another folder.
* There is an incosistency with argument order.
......@@ -55,10 +42,6 @@ import static org.junit.Assert.*;
public class UCB {
private XUniversalContentBroker ucb;
// public String[] getTestMethodNames() {
// return new String[] {"checkWrongFtpConnection"};
// }
public void init() throws Exception {
ucb = UniversalContentBroker.create(connection.getComponentContext());
}
......@@ -195,7 +178,6 @@ public class UCB {
}
@Test public void checkWrongFtpConnection() {
//localhost ;Lo-1.Germany.sun.com; 10.16.65.155
try {
String acountUrl = "ftp://noname:nopasswd@nohost";
System.out.println(acountUrl);
......@@ -221,7 +203,6 @@ public class UCB {
System.out.println("ExName: '"+exceptionName+"'");
fail("Wrong exception thrown: " + exceptionName);
}
// System.exit(0);
}
// setup and close connections
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment