Skip to content

Commit

Permalink
Fix copyrights and other clean up (#1345)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolucci authored Jul 2, 2024
1 parent 8fa4b77 commit b851848
Show file tree
Hide file tree
Showing 36 changed files with 96 additions and 63 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2020 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation.
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<%--
Copyright (c) 2003 Contributors to the Eclipse Foundation
Copyright (c) 2003, 2018 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@

<!-- The fallbackLocale configuration variable will be
used if no locale match can be determined. -->



Nov 21, 2000<br>
3:45:02 AM<br>
Nov 21, 2000, 3:45:02 AM<br>
Nov 21, 2000, 3:45:02AM<br>

</body>
</html>


Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -37,4 +38,4 @@
<fmt:formatDate value="${r1}" timeZone="EST"/><br>
<fmt:formatDate value="${r2}" timeZone="EST" type="time"/><br>
<fmt:formatDate value="${r3}" timeZone="EST" type="both"/><br>
</tck:test>
</tck:test>
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,22 @@




<html>
<head><title>positivePDLocalizationContextTest</title></head>
<body>

<!-- Validate that the action is able to dermine the
formatting locale based on the localizationContext configuration
variable. -->



Nov 21, 2000<br>
3:45:02 AM<br>
Nov 21, 2000, 3:45:02 AM<br>
Nov 21, 2000, 3:45:02AM<br>


</body>
</html>



Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -40,4 +41,4 @@
<fmt:parseDate value='<%= (String) pageContext.getAttribute("dte") %>'
parseLocale='<%= (Locale) pageContext.getAttribute("loc") %>' type="both"/><br>
<fmt:parseDate value='<%= (String) pageContext.getAttribute("dte") %>' parseLocale="en_US" type="both"/><br>
</tck:test>
</tck:test>
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%--
Copyright (c) 2003 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
<!-- If timeZone is null or empty, it will be treated as
if it was not present (only type short times is specified
as any other style has no impact on the result). -->


Nov 21, 2000, 5:45 AM<br>
Nov 21, 2000, 5:45 AM<br>
Nov 21, 2000, 5:45AM<br>
Nov 21, 2000, 5:45AM<br>

</body>
</html>


Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -35,4 +36,4 @@
timeZone="" type="both" timeStyle="short" var="re1"/>
<fmt:formatDate value="${rn1}" timeZone="EST" type="both" timeStyle="short"/><br>
<fmt:formatDate value="${re1}" timeZone="EST" type="both" timeStyle="short"/><br>
</tck:test>
</tck:test>
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,25 @@



Nov 21, 2000, 6:45 AM<br>
Nov 21, 2000, 6:45AM<br>

Not wrapped. Page has a time zone of EST, timeZone attribute specified. Time should be offset by 3 hours:<br>
<br>
Nov 21, 2000, 6:45 AM<br>
Nov 21, 2000, 6:45AM<br>

<br>No TimeZone attribute specified:<br>
Wrapped by &lt;fmt:timeZone&gt; action with MST. Time should be offset by 2 hours:<br>

<br>

Nov 21, 2000, 5:45 AM<br>
Nov 21, 2000, 5:45AM<br>

Not wrapped. Page has a time zone of EST. Time should not be offset:<br>
<br>
Nov 21, 2000, 3:45 AM<br>
Nov 21, 2000, 3:45AM<br>
<br>

</body>
</html>


Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand Down Expand Up @@ -51,7 +52,7 @@
<fmt:parseDate value='<%= (String) pageContext.getAttribute("dte") %>' type="both" timeStyle="short" var="rd3"/><br>
</fmt:timeZone>
<fmt:formatDate value="${rd3}" timeZone="EST" type="both" timeStyle="short"/><br>

Not wrapped. Page has a time zone of EST. Time should not be offset:<br>
<fmt:parseDate value='<%= (String) pageContext.getAttribute("dte") %>' type="both" timeStyle="short" var="rd4"/><br>
<fmt:formatDate value="${rd4}" timeZone="EST" type="both" timeStyle="short"/><br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
be explicitly provided to the action. This will effectively
overried the timezone of the page -->
<br>Page is using EST for the timezone. The formatting action will use PST. Value should be offset 3 hours.<br>



No timeZone attribute: Nov 21, 2000, 3:45 AM<br>
Nov 21, 2000, 6:45 AM<br>
Nov 21, 2000, 6:45 AM<br>
No timeZone attribute: Nov 21, 2000, 3:45AM<br>
Nov 21, 2000, 6:45AM<br>
Nov 21, 2000, 6:45AM<br>

</body>
</html>


Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<%--
Copyright (c) 2003, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2024 Contributors to the Eclipse Foundation
This program and the accompanying materials are made available under the
Expand All @@ -10,8 +12,9 @@
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
--%>

<%@ page pageEncoding="UTF-8"%>
Expand Down Expand Up @@ -40,4 +43,4 @@
No timeZone attribute: <fmt:formatDate value="${rdef}" timeZone="EST" type="both" timeStyle="short"/><br>
<fmt:formatDate value="${rpst1}" timeZone="EST" type="both" timeStyle="short"/><br>
<fmt:formatDate value="${rpst2}" timeZone="EST" type="both" timeStyle="short"/><br>
</tck:test>
</tck:test>
Loading

0 comments on commit b851848

Please sign in to comment.