Skip to content

Commit

Permalink
pre-commit end-of-file-fixer check more file types
Browse files Browse the repository at this point in the history
Seems just the java files were cleaned up
  • Loading branch information
jbampton committed Jan 28, 2025
1 parent 55f2900 commit c335290
Show file tree
Hide file tree
Showing 1,507 changed files with 138 additions and 1,969 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ repos:
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: end-of-file-fixer
files: \.hxx$
files: \.(hxx|java|md|ya?ml)$
- id: mixed-line-ending
files: ^main/.*\.(c|h)xx$
- repo: https://github.com/codespell-project/codespell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,3 @@ public int getAccessibleActionCount() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -537,5 +537,3 @@ public static java.awt.Window getTopWindow(XAccessible xAccessible) {
return null;
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,3 @@ public boolean isShowing() {
return true;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ public javax.accessibility.Accessible getAccessibleAt(java.awt.Point p) {

}
}

Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ public javax.accessibility.AccessibleRole getAccessibleRole() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -647,4 +647,3 @@ public void requestFocus() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -662,4 +662,3 @@ public boolean isDisplayable() {
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,3 @@ public javax.accessibility.AccessibleIcon[] getAccessibleIcon() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,3 @@ public void selectAllAccessibleSelection() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ public interface NativeFrame {
public void setInitialComponent(java.awt.Component c);
// public Integer getHWND();
}

Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,3 @@ public int getAccessibleActionCount() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -720,4 +720,3 @@ public javax.accessibility.AccessibleIcon[] getAccessibleIcon() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,3 @@ public javax.accessibility.AccessibleRelationSet getAccessibleRelationSet() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -761,4 +761,3 @@ public void selectAllAccessibleSelection() {
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -567,4 +567,3 @@ public boolean isDisplayable() {
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,3 @@ public synchronized void removeEventListener(com.sun.star.accessibility.XAccessi
listener = AccessibleEventMulticaster.remove(listener, xAccessibleEventListener);
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,3 @@ private void PaintAllStates (Graphics2D g, Rectangle aWidgetArea)
saDefaultColor = new Color (90,90,90),
saEditColor = new Color (240,240,0);
}


Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,3 @@ Color getColor()
maBackground;

}

Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ public void removeEventListener(/*IN*/com.sun.star.lang.XEventListener aListener
{
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -611,4 +611,3 @@ public int getStartupTime()
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -303,4 +303,3 @@ public void run()
};

}

Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ public synchronized String getDescription()
private long NativeHandle;
private String Description;
}

Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
public void startupService() throws java.io.IOException;
public int getStartupTime();
}

Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,3 @@ public interface OfficeWindow
*/
XWindowPeer getUNOWindowPeer();
}

Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,3 @@ private void dbgPrint( String aMessage )
System.err.println( "OOoBean: " + aMessage );
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ public interface ContainerFactory
*/
Container createContainer();
}

Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,3 @@ public com.sun.star.frame.XDispatch[] queryDispatches(
return xDispatchProvider.queryDispatches( aRequests );
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,3 @@ public void releaseDispatchProviderInterceptor(
xDispatchProviderInterception.releaseDispatchProviderInterceptor( xInterceptor );
}
};

Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@
public class HasConnectionException extends Exception
{
};

Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
public class InvalidArgumentException extends Exception
{
};

Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,3 @@ public void removeEventListener(/*IN*/com.sun.star.lang.XEventListener aListener
{
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -828,4 +828,3 @@ public void run() {
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,3 @@ protected Any getWrappedWindowHandle()
}

}

Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,3 @@ public synchronized String getDescription()
private long NativeHandle;
private String Description;
}

Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@
public void startupService() throws java.io.IOException;
public int getStartupTime();
}

Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@
public class NoConnectionException extends Exception
{
};

Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
public class NoDocumentException extends Exception
{
};

Original file line number Diff line number Diff line change
Expand Up @@ -1507,4 +1507,3 @@ public void run()
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,3 @@ void setUnoUrl(String url)
*/
OfficeWindow createOfficeWindow(Container container);
}

Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,3 @@ public void storeToURL( /*IN*/ String aURL, /*IN*/ com.sun.star.beans.PropertyVa
}

};

Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ public interface OfficeWindow
*/
XWindowPeer getUNOWindowPeer();
}

Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,3 @@
public class SystemWindowException extends Exception
{
};

Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ public void removeEventListener( /*IN*/ com.sun.star.lang.XEventListener xListen
xComponent.removeEventListener( xListener );
}
};

2 changes: 0 additions & 2 deletions main/bean/qa/complex/bean/OOoBeanTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -711,5 +711,3 @@ private XMultiServiceFactory getMSF()


}


1 change: 0 additions & 1 deletion main/bean/qa/complex/bean/ScreenComparer.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,3 @@ public void writeImages() throws Exception
}

}

1 change: 0 additions & 1 deletion main/bean/qa/complex/bean/WriterFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,3 @@ public void addOOoBean() throws Exception
}

}

2 changes: 0 additions & 2 deletions main/bean/test/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,3 @@ public void windowClosing( java.awt.event.WindowEvent e){
}
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -1325,4 +1325,3 @@ public Object makeAny() {
return rValue;
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ public FileSystemRuntimeException(java.lang.Throwable _cause, int _errorCode) {
public final int getErrorCode() {
return errorCode;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ public DriverPropertyInfo[] getPropertyInfo(String url, PropertyValue[] info) th
};

}
}
}
1 change: 0 additions & 1 deletion main/dbaccess/qa/complex/dbaccess/RowSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1005,4 +1005,3 @@ public void testParameters()
testParametersInteraction();
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ public void ExecuteTest01()
}

}

1 change: 0 additions & 1 deletion main/embeddedobj/qa/complex/embedding/Test01.java
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ public boolean test()
}
}
}

1 change: 0 additions & 1 deletion main/embeddedobj/qa/complex/embedding/TestHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ public void Message( String sMessage )
System.out.println( m_sTestPrefix + sMessage );
}
}

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/BitmapPainter.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,4 +304,3 @@ public Object execute( NamedValue[] pValues )
}

};

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/EmbedContFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ public static XMultiServiceFactory connectOfficeGetServiceFactory()
return xMSF;
}
}

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/JavaWindowPeerFake.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,3 @@ public void removeEventListener( XEventListener xListener )
{
}
}

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/NativeView.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,3 @@ public Integer getHWND()
public Integer maHandle ;
public int maSystem ;
}

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/PaintThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ public void run()
}
}
};

1 change: 0 additions & 1 deletion main/embeddedobj/test/Container1/WindowHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,3 @@ public static XBitmap getVCLBitmapFromBytes( XMultiServiceFactory xFactory, Obje
return xResult;
}
};

Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@ public Object createInstanceWithContext(XComponentContext _componentContext) thr
return ipml_createInstance( m_defaultConstructor, new Object[] { _componentContext } );
}
}

2 changes: 1 addition & 1 deletion main/extensions/qa/integration/extensions/ConsoleWait.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ public void disposing( com.sun.star.lang.EventObject eventObject )
}
}
}
}
}
1 change: 0 additions & 1 deletion main/extensions/test/pgp/TestPGP.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,3 @@ public static void main(String argv[]) throws Exception {
// }
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -356,4 +356,3 @@ public FileAliasNotFoundException(String fileAlias){
super("Could not get '"+fileAlias +"'");
}
}

1 change: 0 additions & 1 deletion main/forms/qa/integration/forms/DocumentHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,4 +397,3 @@ public XInterface createInstanceWithArguments( String serviceSpecifier, Object[]
return (XInterface) xORB.createInstanceWithArguments( serviceSpecifier, arguments );
}
};

1 change: 0 additions & 1 deletion main/forms/qa/integration/forms/DocumentType.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ public static DocumentType fromInt(int value)
}
}
};

1 change: 0 additions & 1 deletion main/forms/qa/integration/forms/DocumentViewHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@ protected void grabControlFocus( ) throws java.lang.Exception
// has a greater ordinate than any other control model.
}
};

1 change: 0 additions & 1 deletion main/forms/qa/integration/forms/RadioButtons.java
Original file line number Diff line number Diff line change
Expand Up @@ -463,4 +463,3 @@ private boolean verifySheetRadios( int state1, int state2, int state3, int state
return verifyRadios( radios, states, "seems some of the radio button check states didn't survive the page activation(s)!" );
}
}

1 change: 0 additions & 1 deletion main/forms/qa/integration/forms/WaitForInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,3 @@ public void run()
}
}
};

2 changes: 0 additions & 2 deletions main/framework/qa/complex/api_internal/CheckAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,5 +241,3 @@ private XMultiServiceFactory getMSF()
private static final OfficeConnection connection = new OfficeConnection();

}


1 change: 0 additions & 1 deletion main/framework/qa/complex/framework/autosave/Protocol.java
Original file line number Diff line number Diff line change
Expand Up @@ -993,4 +993,3 @@ private void impl_writeToLogFile(String sFileName,
}
}
}

2 changes: 0 additions & 2 deletions main/framework/qa/complex/imageManager/_XComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,3 @@ protected void after() {
}

} // finished class _XComponent


2 changes: 0 additions & 2 deletions main/framework/qa/complex/imageManager/_XInitialization.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,3 @@ public void after() {
}

} // finished class _XInitialization


1 change: 0 additions & 1 deletion main/framework/qa/complex/imageManager/_XTypeProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@ public boolean _getTypes() {
} // end getTypes()

}

Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ private void init(String title, String subtitle, int rows, int columns) {
add(SubtitlePanel);
}
}
}
}
Loading

0 comments on commit c335290

Please sign in to comment.