8134984: Text files should end in exactly one newline

Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
This commit is contained in:
Martin Buchholz 2015-09-02 14:11:50 -07:00
parent 564b2c9337
commit 24742f7b1d
156 changed files with 86 additions and 234 deletions

View File

@ -25,5 +25,3 @@ Simple Build Instructions:
5. Construct the images: 5. Construct the images:
cd make && gnumake images cd make && gnumake images
The resulting JDK image should be found in build/*/j2sdk-image The resulting JDK image should be found in build/*/j2sdk-image

View File

@ -43,4 +43,4 @@ build.release = ${build.jdk.version}-opensource
build.number = b00 build.number = b00
jdbc.version = ${build.release}-${user.name}-${build.number} jdbc.version = ${build.release}-${user.name}-${build.number}
jdbc.args = -debug jdbc.args = -debug
javadoc.options=-J-Xmx256m -Xdoclint:none -keywords -quiet javadoc.options=-J-Xmx256m -Xdoclint:none -keywords -quiet

View File

@ -23,5 +23,3 @@
<a href="CLSFractal.java">The source</a>. <a href="CLSFractal.java">The source</a>.
</body> </body>
</html> </html>

View File

@ -14,9 +14,3 @@
<a href="XYZApp.java">The source</a>. <a href="XYZApp.java">The source</a>.
</body> </body>
</html> </html>

View File

@ -66,5 +66,3 @@ Java_java_util_zip_Adler32_updateByteBuffer(JNIEnv *env, jclass cls, jint adler,
} }
return adler; return adler;
} }

View File

@ -275,6 +275,3 @@ message/rfc822: \
application/xml: \ application/xml: \
description=XML document;\ description=XML document;\
file_extensions=.xml file_extensions=.xml

View File

@ -272,5 +272,3 @@ message/rfc822: \
application/xml: \ application/xml: \
description=XML document;\ description=XML document;\
file_extensions=.xml file_extensions=.xml

View File

@ -27,4 +27,4 @@ package com.apple.eawt;
interface _OpenAppHandler { interface _OpenAppHandler {
void handleOpenApp(); void handleOpenApp();
} }

View File

@ -1098,4 +1098,4 @@ public class AquaLookAndFeel extends BasicLookAndFeel {
}; };
table.putDefaults(uiDefaults); table.putDefaults(uiDefaults);
} }
} }

View File

@ -278,5 +278,3 @@ public class CDataTransferer extends DataTransferer {
return false; return false;
} }
} }

View File

@ -1406,5 +1406,3 @@ JNF_COCOA_EXIT(env);
return underMouse; return underMouse;
} }

View File

@ -289,4 +289,4 @@ JNIEXPORT jboolean JNICALL Java_sun_lwawt_macosx_CClipboard_checkPasteboardWitho
JNF_COCOA_EXIT(env); JNF_COCOA_EXIT(env);
return ret; return ret;
} }

View File

@ -183,4 +183,4 @@ public class MultiResolutionCachedImage extends AbstractMultiResolutionImage {
return false; return false;
} }
} }
} }

View File

@ -80,5 +80,3 @@ struct Format3AnchorTable : AnchorTable
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -104,5 +104,3 @@ public:
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -63,5 +63,3 @@ LE_VAR_ARRAY(CursiveAttachmentSubtable, entryExitRecords)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -61,5 +61,3 @@ LE_VAR_ARRAY(DeviceTable, deltaValues)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -63,5 +63,3 @@ private:
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -62,5 +62,3 @@ LE_VAR_ARRAY(MarkArray, markRecordArray)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -109,5 +109,3 @@ LE_VAR_ARRAY(PairPositioningFormat2Subtable, class1RecordArray)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -71,5 +71,3 @@ LE_VAR_ARRAY(SinglePositioningFormat2Subtable, valueRecordArray)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -68,5 +68,3 @@ LE_VAR_ARRAY(SingleSubstitutionFormat2Subtable, substituteArray)
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -129,5 +129,3 @@ inline ThaiShaping::StateTransition ThaiShaping::getTransition(le_uint8 state, l
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -94,5 +94,3 @@ enum ValueFormatBits
U_NAMESPACE_END U_NAMESPACE_END
#endif #endif

View File

@ -1836,5 +1836,3 @@ cmsBool CMSEXPORT cmsPipelineEvalReverseFloat(cmsFloat32Number Target[],
return TRUE; return TRUE;
} }

View File

@ -201,5 +201,3 @@ void CMSEXPORT _cmsMAT3eval(cmsVEC3* r, const cmsMAT3* a, const cmsVEC3* v)
r->n[VY] = a->v[1].n[VX]*v->n[VX] + a->v[1].n[VY]*v->n[VY] + a->v[1].n[VZ]*v->n[VZ]; r->n[VY] = a->v[1].n[VX]*v->n[VX] + a->v[1].n[VY]*v->n[VY] + a->v[1].n[VZ]*v->n[VZ];
r->n[VZ] = a->v[2].n[VX]*v->n[VX] + a->v[2].n[VY]*v->n[VY] + a->v[2].n[VZ]*v->n[VZ]; r->n[VZ] = a->v[2].n[VX]*v->n[VX] + a->v[2].n[VY]*v->n[VY] + a->v[2].n[VZ]*v->n[VZ];
} }

View File

@ -989,5 +989,3 @@ void* CMSEXPORT cmsGetContextUserData(cmsContext ContextID)
{ {
return _cmsContextGetClientChunk(ContextID, UserPtr); return _cmsContextGetClientChunk(ContextID, UserPtr);
} }

View File

@ -376,5 +376,3 @@ cmsBool CMSEXPORT cmsAdaptToIlluminant(cmsCIEXYZ* Result,
return TRUE; return TRUE;
} }

View File

@ -234,4 +234,4 @@ JNIEXPORT jfloat JNICALL Java_java_awt_SplashScreen__1getScaleFactor
return 1; return 1;
} }
return splash->scaleFactor; return splash->scaleFactor;
} }

View File

@ -84,5 +84,3 @@ HRESULT DwmAPI::DwmGetWindowAttribute(HWND hwnd, DWORD dwAttribute,
} }
throw FunctionUnavailableException(); throw FunctionUnavailableException();
} }

View File

@ -131,5 +131,3 @@ THINGS TO DO:
2. Handle exceptions properly. The current code lacks error checking 2. Handle exceptions properly. The current code lacks error checking
and recovery. This leads to random runtime crashes. and recovery. This leads to random runtime crashes.

View File

@ -126,8 +126,3 @@ Java Logging Overview</a>.
</body> </body>
</html> </html>

View File

@ -4467,4 +4467,4 @@ public abstract class BaseRowSet implements Serializable, Cloneable {
static final long serialVersionUID = 4886719666485113312L; static final long serialVersionUID = 4886719666485113312L;
} //end class } //end class

View File

@ -96,4 +96,4 @@ public interface RowSetFactory{
*/ */
public WebRowSet createWebRowSet() throws SQLException; public WebRowSet createWebRowSet() throws SQLException;
} }

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
algorithm factories. algorithm factories.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:KeyValue</CODE>. basic handlers for elements that can occur inside <CODE>ds:KeyValue</CODE>.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:KeyInfo</CODE>. basic handlers for elements that can occur inside <CODE>ds:KeyInfo</CODE>.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
basic handlers for elements that can occur inside <CODE>ds:X509Data</CODE>. basic handlers for elements that can occur inside <CODE>ds:X509Data</CODE>.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
implementations for retrieval of certificates and public keys from elements. implementations for retrieval of certificates and public keys from elements.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
the resolver framework for retrieval of certificates and public keys from elements. the resolver framework for retrieval of certificates and public keys from elements.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
implementations of resolvers for retrieval for certificates and public keys from user-specified locations. implementations of resolvers for retrieval for certificates and public keys from user-specified locations.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -1,3 +1,3 @@
<HTML><HEAD></HEAD><BODY><P> <HTML><HEAD></HEAD><BODY><P>
a resolver framework for certificates and public keys from user-specified locations. a resolver framework for certificates and public keys from user-specified locations.
</P></BODY></HTML> </P></BODY></HTML>

View File

@ -24,4 +24,4 @@
package com.sun.org.apache.xml.internal.security.transforms; package com.sun.org.apache.xml.internal.security.transforms;
public interface TransformParam { public interface TransformParam {
} }

View File

@ -54,4 +54,4 @@
<value>4</value> <value>4</value>
</entry> </entry>
</supportedModules> </supportedModules>
</device> </device>

View File

@ -64,4 +64,4 @@
Sources: <a href="Validator/src/">Validator/src/</a> Sources: <a href="Validator/src/">Validator/src/</a>
</ul> </ul>
</body> </body>
</html> </html>

View File

@ -46,4 +46,4 @@
Source: <a href="src/WC.java">src/WC.java</a> Source: <a href="src/WC.java">src/WC.java</a>
</ul> </ul>
</body> </body>
</html> </html>

View File

@ -33,4 +33,4 @@
</ul> </ul>
</body> </body>
</html> </html>

View File

@ -374,5 +374,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -76,4 +76,4 @@ class Utils {
interface MacTest { interface MacTest {
void doTest(String alg) throws Exception; void doTest(String alg) throws Exception;
} }

View File

@ -442,6 +442,3 @@ public class InterfaceMethodsTest extends TestScaffold {
} }
} }
} }

View File

@ -1215,5 +1215,3 @@ runit()
# Don't know how this arises # Don't know how this arises
debuggeeFailIfPresent "Internal exception" debuggeeFailIfPresent "Internal exception"
} }

View File

@ -23,4 +23,4 @@
public enum ConfigKey { public enum ConfigKey {
CONSTANT3, CONSTANT2; CONSTANT3, CONSTANT2;
} }

View File

@ -23,4 +23,4 @@
public enum ConfigKey { public enum ConfigKey {
CONSTANT1, CONSTANT2; CONSTANT1, CONSTANT2;
} }

View File

@ -29,4 +29,4 @@ public class Ste extends NotificationBroadcasterSupport implements SteMBean {
public void foo() { public void foo() {
sendNotification(new TestNotification("test", this, count++)); sendNotification(new TestNotification("test", this, count++));
} }
} }

View File

@ -23,4 +23,4 @@
public interface SteMBean { public interface SteMBean {
public void foo(); public void foo();
} }

View File

@ -7,5 +7,3 @@ grant {
//permission java.net.SocketPermission "*:636", "connect"; //permission java.net.SocketPermission "*:636", "connect";
//permission javax.security.auth.AuthPermission "modifyPrincipals"; //permission javax.security.auth.AuthPermission "modifyPrincipals";
}; };

View File

@ -212,4 +212,4 @@ public final class DimensionEncapsulation implements Runnable {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
} }

View File

@ -163,4 +163,4 @@ public final class InsetsEncapsulation implements Runnable {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
} }
} }

View File

@ -69,4 +69,4 @@ public final class SetEnabledPerformance {
} }
}); });
} }
} }

View File

@ -29,4 +29,4 @@
<applet CODE="MultiResolutionCursorTest.class" WIDTH=300 HEIGHT=100></applet> <applet CODE="MultiResolutionCursorTest.class" WIDTH=300 HEIGHT=100></applet>
<p> See the dialog box (usually in upper left corner) for instructions</p> <p> See the dialog box (usually in upper left corner) for instructions</p>
</body> </body>
</html> </html>

View File

@ -134,4 +134,4 @@ public class FileDialogModalFocusTest {
throw new RuntimeException("file chooser is underneath"); throw new RuntimeException("file chooser is underneath");
} }
} }
} }

View File

@ -135,5 +135,3 @@ public class Test3 {
} }
} }
} }

View File

@ -79,5 +79,3 @@ public class LCDScale extends Component {
} }
} }
} }

View File

@ -156,4 +156,4 @@ public class FramesGC {
refs.add(new PhantomReference<Frame>(frame, que)); refs.add(new PhantomReference<Frame>(frame, que));
} }
} }

View File

@ -76,4 +76,4 @@ public class MaximizedToUnmaximized {
frame.dispose(); frame.dispose();
} }
} }
} }

View File

@ -129,4 +129,4 @@ public final class RemoveHelpMenu {
checkMenuCount(menuBar, 0); checkMenuCount(menuBar, 0);
checkHelpMenu(helpMenu, false); checkHelpMenu(helpMenu, false);
} }
} }

View File

@ -426,5 +426,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -421,5 +421,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -424,5 +424,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -425,5 +425,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -430,5 +430,3 @@ class TestDialog extends Dialog
} }
}// TestDialog class }// TestDialog class

View File

@ -100,4 +100,4 @@ public class MouseDraggedTest {
frame.add(panel, BorderLayout.CENTER); frame.add(panel, BorderLayout.CENTER);
frame.setVisible(true); frame.setVisible(true);
} }
} }

View File

@ -144,5 +144,3 @@ public class JContainerMousePositionTest {
frame1.setVisible(true); frame1.setVisible(true);
} }
} }

View File

@ -80,4 +80,4 @@ public class RobotWheelTest {
} }
} }
} }
} }

View File

@ -112,4 +112,4 @@ public class bug8077409Test extends Frame {
} }
} }
} }

View File

@ -148,4 +148,4 @@ public class TrayIconPopupTest {
"JPopupMenu shown and menu item selected using keyboard"); "JPopupMenu shown and menu item selected using keyboard");
} }
} }

View File

@ -59,4 +59,4 @@ public class SyncAlwaysOnTopFieldTest {
window.setVisible(true); window.setVisible(true);
return window; return window;
} }
} }

View File

@ -52,4 +52,4 @@ public class AppletFlipBuffer {
frame.dispose(); frame.dispose();
} }
} }
} }

View File

@ -41,4 +41,4 @@
<APPLET CODE="IOExceptionIfEncodedURLTest.class" WIDTH=200 HEIGHT=200></APPLET> <APPLET CODE="IOExceptionIfEncodedURLTest.class" WIDTH=200 HEIGHT=200></APPLET>
</body> </body>
</html> </html>

View File

@ -168,4 +168,4 @@ public class ClipboardInterVMTest {
} }
} }
} }
} }

View File

@ -342,4 +342,4 @@ class TestDialog extends Dialog implements ActionListener {
} }
} }
}// TestDialog class }// TestDialog class

View File

@ -59,4 +59,4 @@ class MyTransferable implements Transferable {
throw new UnsupportedFlavorException(flavor); throw new UnsupportedFlavorException(flavor);
} }
} }
} }

View File

@ -120,5 +120,3 @@ public class CTORRestrictions_Disable {
frame.dispatchEvent( ( AWTEvent )meOld ); frame.dispatchEvent( ( AWTEvent )meOld );
} }
} }

View File

@ -59,5 +59,3 @@ Confirm the following two behaviors:
<APPLET CODE="bug4490692.class" WIDTH=0 HEIGHT=0></APPLET> <APPLET CODE="bug4490692.class" WIDTH=0 HEIGHT=0></APPLET>
</body> </body>
</html> </html>

View File

@ -45,5 +45,3 @@ Confirm the following behavior:
<APPLET CODE="bug4959409.class" WIDTH=0 HEIGHT=0></APPLET> <APPLET CODE="bug4959409.class" WIDTH=0 HEIGHT=0></APPLET>
</body> </body>
</html> </html>

View File

@ -73,4 +73,4 @@ If the test fails the Error is thrown.
If this object is not null it will be encoded and decoded. If this object is not null it will be encoded and decoded.
Also the object updating will be tested in this case. Also the object updating will be tested in this case.
The test() method has a boolean parameter, The test() method has a boolean parameter,
which indicates that the test should be started in secure context. which indicates that the test should be started in secure context.

View File

@ -12,6 +12,3 @@ java WriteAddedSuperClass
rm A.class AddedSuperClass.class rm A.class AddedSuperClass.class
javac ReadAddedSuperClass2.java javac ReadAddedSuperClass2.java
java ReadAddedSuperClass2 java ReadAddedSuperClass2

View File

@ -44,5 +44,3 @@ esac
# now start the test # now start the test
${TESTJAVA}/bin/java ${TESTVMOPTS} -cp ${TESTSRC}${FS}resource.jar${PS}${TESTCLASSES} GetDotResource ${TESTJAVA}/bin/java ${TESTVMOPTS} -cp ${TESTSRC}${FS}resource.jar${PS}${TESTCLASSES} GetDotResource

View File

@ -69,5 +69,3 @@ if [ $failures -gt 0 ];
then echo "$failures test(s) failed"; then echo "$failures test(s) failed";
else echo "All test(s) passed"; fi else echo "All test(s) passed"; fi
exit $failures exit $failures

View File

@ -1,3 +1,3 @@
grant { grant {
permission java.security.AllPermission; permission java.security.AllPermission;
}; };

View File

@ -33,6 +33,3 @@
* ) * )
echo "unrecognized system: $OS" ;; echo "unrecognized system: $OS" ;;
esac esac

View File

@ -31,5 +31,3 @@ For step 4 (re-building libLauncher.so) the following environment is required:
(c) Execute the make script :- (c) Execute the make script :-
Solaris: gnumake all Solaris: gnumake all
Linux: gmake all Linux: gmake all

View File

@ -125,5 +125,3 @@ else
fi fi
rm -rf OUT.TXT ${RMIREG_OUT} rmi_tmp rm -rf OUT.TXT ${RMIREG_OUT} rmi_tmp
exit ${exitCode} exit ${exitCode}

View File

@ -25,4 +25,4 @@ storepass -storetype pkcs12
3. Import certificate 3. Import certificate
<JAVA-HOME>/bin/keytool -import -alias pkcs12test -keystore ks-pkcs.data <JAVA-HOME>/bin/keytool -import -alias pkcs12test -keystore ks-pkcs.data
-storepass storepass -file pkcs12testCA.cer.data -storepass storepass -file pkcs12testCA.cer.data

View File

@ -119,5 +119,3 @@ public class Copy {
} }
} }
} }

View File

@ -211,5 +211,3 @@ public class ToArrayTest {
else {System.out.println(x + " not equal to " + y); fail(); } else {System.out.println(x + " not equal to " + y); fail(); }
} }
} }

View File

@ -278,4 +278,4 @@ public class SetAllTest {
// expected // expected
} }
} }
} }

View File

@ -1 +1 @@
<APPLET CODE="bug4123285.class" CODEBASE="./" WIDTH="250" HEIGHT="325" ALIGN="TOP"></APPLET> <APPLET CODE="bug4123285.class" CODEBASE="./" WIDTH="250" HEIGHT="325" ALIGN="TOP"></APPLET>

View File

@ -120,4 +120,4 @@ public class ThenComposeExceptionTest {
Assert.assertTrue(eOnWhenComplete.get() instanceof CompletionException, Assert.assertTrue(eOnWhenComplete.get() instanceof CompletionException,
"Incorrect exception passed to whenComplete: " + eOnWhenComplete.get()); "Incorrect exception passed to whenComplete: " + eOnWhenComplete.get());
} }
} }

Some files were not shown because too many files have changed in this diff Show More