Author: smartini
Date: Tue Oct 31 19:15:47 2023
New Revision: 1913470
URL: http://svn.apache.org/viewvc?rev=1913470&view=rev
Log:
update properties of files, as required by checks for release
Modified:
pivot/trunk/StyleChecks.java (props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/DialView.java (props
changed)
pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java
(contents, props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/MeterView.java (props
changed)
pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java
(contents, props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java
(props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java
(contents, props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/ThermometerView.java
(props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
(contents, props changed)
pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/annotations/package.html (props
changed)
pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Failure.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Monad.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/MonadicOperations.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/None.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Option.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/OptionCompanion.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Some.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Success.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/Try.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/TryCompanion.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/monad/package.html
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/functional/package.html (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/io/FileObjectList.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/serialization/MacroReader.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/text/AttributedStringCharacterIterator.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/text/CharSpan.java (contents, props
changed)
pivot/trunk/core/src/org/apache/pivot/text/CompositeIterator.java
(contents, props changed)
pivot/trunk/core/src/org/apache/pivot/util/BooleanResult.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/CharUtils.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/ClassUtils.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/Constants.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/ExceptionUtils.java (props
changed)
pivot/trunk/core/src/org/apache/pivot/util/ImageUtils.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/StringUtils.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/Utils.java (contents, props
changed)
pivot/trunk/core/src/org/apache/pivot/util/VoteResult.java (contents,
props changed)
pivot/trunk/core/src/org/apache/pivot/util/concurrent/SimpleExecutorService.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/collections/test/DictionaryTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/functional/monad/test/OptionTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/functional/monad/test/TryTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/text/test/CharSpanTest.java (props
changed)
pivot/trunk/core/test/org/apache/pivot/util/test/BooleanResultTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/CalendarDateTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/CharUtilsTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/EmptyIteratorTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/ImmutableIteratorTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/ListenerListTest.java
(props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/StringUtilsTest.java
(props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/VersionTest.java
(contents, props changed)
pivot/trunk/core/test/org/apache/pivot/util/test/VoteResultTest.java
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/demos/colors/Colors.java
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/demos/decorator/ScaleDecoratorDemo.java
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/demos/decorator/scale_window.bxml
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_osx.json
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_swing.json
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_ubuntu.json
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_win2k.json
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_winxp1.json
(contents, props changed)
pivot/trunk/demos/src/org/apache/pivot/wtk/skin/terra/TerraTheme_winxp2.json
(contents, props changed)
pivot/trunk/demos/www/favicon.ico (props changed)
pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.icns
(props changed)
pivot/trunk/examples/src/org/apache/pivot/examples/deployment/logo-notext-256x256.ico
(props changed)
pivot/trunk/examples/src/org/apache/pivot/examples/scripting/README.txt
(contents, props changed)
pivot/trunk/examples/src/org/apache/pivot/examples/svg/logo-64x64.png
(props changed)
pivot/trunk/examples/src/org/apache/pivot/examples/svg/tiger.svg (props
changed)
pivot/trunk/package-info.java (props changed)
pivot/trunk/pivot.css (props changed)
pivot/trunk/pivot_style_checks.xml (props changed)
pivot/trunk/script (props changed)
pivot/trunk/script.bat (contents, props changed)
pivot/trunk/setenv (props changed)
pivot/trunk/setenv.bat (contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/ApplicationWithPropertiesTest.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/GaugeTest.java (contents,
props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/HyperlinkButtonTest.java
(props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/HyperlinkButtonTest2.java
(props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/LabelAntialiasTest.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/TerraTheme_dark_flat.json
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/TextAreaConsoleTest.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/VerticalButtonTest.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/application_with_properties_test.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/checked_list_view_test.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/console_test.bxml (contents,
props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/gauge_test.bxml (contents,
props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/image_view_svg_test.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot951.java (props
changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot859/pivot859.html
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot894/Pivot894.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot894/btn_grid.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot929/Pivot929.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot948/Pivot948.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot948/pivot_948.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot949/Pivot949.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot949/pivot_949.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot949/pivot_949.js
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot964/Pivot964Pivot.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot964/Pivot964Swing.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/IncludedSection965.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Pivot965Main.java
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot965/Window965.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_843_test.dib
(props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_880.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_888.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/issues/pivot_901.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/logo.svg (props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/table_pane_test2.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test4.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/table_view_test_empty.bxml
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_defaults_test.json
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/terra_theme_styles_test.json
(contents, props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/tooltip_test.bxml (contents,
props changed)
pivot/trunk/tests/src/org/apache/pivot/tests/utilities_script.js
(contents, props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/Calculator.java
(props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/asterisk_orange.png
(props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/calculator.bxml
(props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/calculator/calculator_styles.json
(props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/explorer/gauge.bxml
(contents, props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/localization/Localization_ja.json
(contents, props changed)
pivot/trunk/tutorials/src/org/apache/pivot/tutorials/stocktracker/StockTrackerWindow_ja.json
(contents, props changed)
pivot/trunk/unsetenv (props changed)
pivot/trunk/unsetenv.bat (contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraCalendarSkin_ja.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSheetSkin_ja.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraFileBrowserSkin_ja.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraGaugeSkin.java
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin.java
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_cs.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_de.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_es.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_fr.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_it.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_ja.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_pl.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_ru.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSheetSkin_zh.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin.java
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_cs.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_de.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_es.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_fr.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_it.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_ja.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_pl.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_ru.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/TerraVFSBrowserSkin_zh.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/terra_theme_defaults.json
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/terra_vfs_browser_sheet_skin.bxml
(contents, props changed)
pivot/trunk/wtk-terra/src/org/apache/pivot/wtk/skin/terra/terra_vfs_browser_skin.bxml
(contents, props changed)
pivot/trunk/wtk/lib/commons-vfs2-2.1-SNAPSHOT.jar (props changed)
pivot/trunk/wtk/lib/javax.activation-1.2.0.jar (props changed)
pivot/trunk/wtk/lib/svgSalamander-tiny.jar (props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Alert_ja.json (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/ApplicationWithProperties.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Borders.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/CSSColor.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/ComponentTextInputMethodListener.java
(props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/FontUtilities.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Gauge.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/GaugeListener.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/HyperlinkButton.java (props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/LocalManifestAdapter.java (props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/NumberRuler.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/NumberRulerListener.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Origin.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Prompt_ja.json (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Ruler.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/RulerListener.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/SelectDirection.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/Style.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInputMethodListener.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowser.java (contents, props
changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserListener.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheet.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/VFSBrowserSheetListener.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/WTKTaskListener.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/BaseContent.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/ListViewIndexBindMapping.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/SpinnerIndexBindMapping.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/UserContent.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/content/VerticalButtonDataRenderer.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/NumberRulerSkin.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/RulerSkin.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/TabPaneSkin.java (contents,
props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/skin/VFSBrowserSkin.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/util/ColorUtilities.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/util/TextAreaOutputStream.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/util/package.html (props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/BigDecimalValidator.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/BigIntegerValidator.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/ComparableRangeValidator.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/ComparableValidator.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/EmptyTextValidator.java
(contents, props changed)
pivot/trunk/wtk/src/org/apache/pivot/wtk/validation/LongRangeValidator.java
(contents, props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/BoundsTest.java (contents,
props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/CSSColorTest.java
(contents, props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/ColorUtilitiesTest.java
(contents, props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/CornerRadiiTest.java
(props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/DimensionsTest.java
(contents, props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/GaugeTest.java (contents,
props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/InsetsTest.java (contents,
props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/LimitsTest.java (contents,
props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/MeterTest.java (contents,
props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/RangeSelectionTest.java
(props changed)
pivot/trunk/wtk/test/org/apache/pivot/wtk/test/SpanTest.java (contents,
props changed)
Propchange: pivot/trunk/StyleChecks.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/DialView.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java (original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java Tue Oct
31 19:15:47 2023
@@ -1,64 +1,64 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.charts;
-
-public class HistogramView extends ChartView {
-
- public HistogramView() {
- installSkin(HistogramView.class);
- }
-
- public static class HistogramBin extends Element {
- private final double binStart;
- private final double binValue;
- private final double binEnd;
- private final double frequency;
-
- public HistogramBin(int series, int item, double binStart, double
binValue, double binEnd,
- double frequency) {
- super(series, item);
- this.binEnd = binEnd;
- this.binStart = binStart;
- this.binValue = binValue;
- this.frequency = frequency;
- }
-
- public double getBinStart() {
- return binStart;
- }
-
- public double getBinValue() {
- return binValue;
- }
-
- public double getBinEnd() {
- return binEnd;
- }
-
- public double getFrequency() {
- return frequency;
- }
-
- @Override
- public String toString() {
- return "bin #" + getElementIndex() + "," + binStart + " - " +
binEnd + ", frequency "
- + frequency;
- }
-
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.charts;
+
+public class HistogramView extends ChartView {
+
+ public HistogramView() {
+ installSkin(HistogramView.class);
+ }
+
+ public static class HistogramBin extends Element {
+ private final double binStart;
+ private final double binValue;
+ private final double binEnd;
+ private final double frequency;
+
+ public HistogramBin(int series, int item, double binStart, double
binValue, double binEnd,
+ double frequency) {
+ super(series, item);
+ this.binEnd = binEnd;
+ this.binStart = binStart;
+ this.binValue = binValue;
+ this.frequency = frequency;
+ }
+
+ public double getBinStart() {
+ return binStart;
+ }
+
+ public double getBinValue() {
+ return binValue;
+ }
+
+ public double getBinEnd() {
+ return binEnd;
+ }
+
+ public double getFrequency() {
+ return frequency;
+ }
+
+ @Override
+ public String toString() {
+ return "bin #" + getElementIndex() + "," + binStart + " - " +
binEnd + ", frequency "
+ + frequency;
+ }
+
+ }
+
+}
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/HistogramView.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/MeterView.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java
(original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java Tue Oct
31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.charts;
-
-public class PolarChartView extends ChartView {
-
- public PolarChartView() {
- installSkin(PolarChartView.class);
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.charts;
+
+public class PolarChartView extends ChartView {
+
+ public PolarChartView() {
+ installSkin(PolarChartView.class);
+ }
+
+}
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/PolarChartView.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
pivot/trunk/charts/src/org/apache/pivot/charts/SingleValueChartView.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java (original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java Tue Oct
31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.charts;
-
-public class SpiderWebView extends ChartView {
-
- public SpiderWebView() {
- installSkin(SpiderWebView.class);
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.charts;
+
+public class SpiderWebView extends ChartView {
+
+ public SpiderWebView() {
+ installSkin(SpiderWebView.class);
+ }
+
+}
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/SpiderWebView.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: pivot/trunk/charts/src/org/apache/pivot/charts/ThermometerView.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
(original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
Tue Oct 31 19:15:47 2023
@@ -1,39 +1,39 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.charts.content;
-
-import org.apache.pivot.collections.ListListener;
-
-public class HistogramSeries<T> extends ValueSeries<T> {
-
- private static final long serialVersionUID = -2520587408447952395L;
-
- private int binCount;
-
- public int getBinCount() {
- return binCount;
- }
-
- public void setBinCount(int binCount) {
- this.binCount = binCount;
- // Fire itemUpdated to notify series change
- for (ListListener<T> listener : getListListeners()) {
- listener.itemUpdated(this, Integer.MIN_VALUE, null);
- }
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.charts.content;
+
+import org.apache.pivot.collections.ListListener;
+
+public class HistogramSeries<T> extends ValueSeries<T> {
+
+ private static final long serialVersionUID = -2520587408447952395L;
+
+ private int binCount;
+
+ public int getBinCount() {
+ return binCount;
+ }
+
+ public void setBinCount(int binCount) {
+ this.binCount = binCount;
+ // Fire itemUpdated to notify series change
+ for (ListListener<T> listener : getListListeners()) {
+ listener.itemUpdated(this, Integer.MIN_VALUE, null);
+ }
+ }
+
+}
Propchange:
pivot/trunk/charts/src/org/apache/pivot/charts/content/HistogramSeries.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java
(original)
+++ pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java Tue
Oct 31 19:15:47 2023
@@ -1,62 +1,62 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.charts.content;
-
-import java.awt.Color;
-
-public class ValueMarker {
- private double value;
- private Color color;
- private String label;
-
-
- public ValueMarker() {
- this(0, Color.red, "");
- }
-
- public ValueMarker(double value, Color color, String label) {
- this.value = value;
- this.color = color;
- this.label = label;
- }
-
- public double getValue() {
- return value;
- }
-
- public void setValue(double value) {
- this.value = value;
- }
-
- public Color getColor() {
- return color;
- }
-
- public void setColor(Color color) {
- this.color = color;
- }
-
- public String getLabel() {
- return label;
- }
-
- public void setLabel(String label) {
- this.label = label;
- }
-
-}
-
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.charts.content;
+
+import java.awt.Color;
+
+public class ValueMarker {
+ private double value;
+ private Color color;
+ private String label;
+
+
+ public ValueMarker() {
+ this(0, Color.red, "");
+ }
+
+ public ValueMarker(double value, Color color, String label) {
+ this.value = value;
+ this.color = color;
+ this.label = label;
+ }
+
+ public double getValue() {
+ return value;
+ }
+
+ public void setValue(double value) {
+ this.value = value;
+ }
+
+ public Color getColor() {
+ return color;
+ }
+
+ public void setColor(Color color) {
+ this.color = color;
+ }
+
+ public String getLabel() {
+ return label;
+ }
+
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+}
+
Propchange:
pivot/trunk/charts/src/org/apache/pivot/charts/content/ValueMarker.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java
Tue Oct 31 19:15:47 2023
@@ -1,39 +1,39 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.annotations;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-/**
- * An annotation to explicitly mark a method that will always throw
- * {@link UnsupportedOperationException} when called.
- */
-@Retention(RetentionPolicy.SOURCE)
-@Target(ElementType.METHOD)
-@Documented
-public @interface UnsupportedOperation {
-
- /**
- * The (unused) value for this annotation, defaults to {@code true}.
- * @return true
- */
- boolean value() default true;
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.annotations;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * An annotation to explicitly mark a method that will always throw
+ * {@link UnsupportedOperationException} when called.
+ */
+@Retention(RetentionPolicy.SOURCE)
+@Target(ElementType.METHOD)
+@Documented
+public @interface UnsupportedOperation {
+
+ /**
+ * The (unused) value for this annotation, defaults to {@code true}.
+ * @return true
+ */
+ boolean value() default true;
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/annotations/UnsupportedOperation.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: pivot/trunk/core/src/org/apache/pivot/annotations/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java Tue
Oct 31 19:15:47 2023
@@ -1,107 +1,107 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.collections;
-
-import java.io.Serializable;
-import java.util.Arrays;
-
-import org.apache.pivot.annotations.UnsupportedOperation;
-
-/**
- * A read-only implementation of the {@link Sequence} interface that can be
used
- * to easily implement other read-only sequences, lists, adapters, etc.
- * <p> "Read-only" because all operations (such as {@link #add}, {@link
#insert},
- * and etc. will throw {@link UnsupportedOperationException} and are marked
with
- * {@link UnsupportedOperation} annotation.
- *
- * @param <T> The base type of objects in this sequence.
- */
-public abstract class ReadOnlySequence<T> implements Sequence<T>, Serializable
{
- private static final long serialVersionUID = -2547032333033014540L;
-
- /** The simple name of our (derived) class, for message purposes. */
- private final String simpleClassName = this.getClass().getSimpleName();
-
- /** Format of the default exception message. */
- private static final String MSG_FORMAT =
- "The \"%1$s\" method is unsupported because %2$s is read-only
(immutable).";
-
- /**
- * @return A new {@link UnsupportedOperationException} with a fancy message
- * detailing the method and class name that was in error.
- */
- public UnsupportedOperationException defaultException() {
- StackTraceElement[] stackTrace =
Thread.currentThread().getStackTrace();
- StackTraceElement[] modifiedStackTrace =
Arrays.copyOfRange(stackTrace, 2, stackTrace.length);
- String callingMethodName = modifiedStackTrace[0].getMethodName();
- String message = String.format(MSG_FORMAT, callingMethodName,
simpleClassName);
- UnsupportedOperationException exception = new
UnsupportedOperationException(message);
- exception.setStackTrace(modifiedStackTrace);
- return exception;
- }
-
- /**
- * Adding an item to a read-only sequence is unsupported.
- * @throws UnsupportedOperationException always
- */
- @Override
- @UnsupportedOperation
- public final int add(final T item) {
- throw defaultException();
- }
-
- /**
- * Inserting an item into a read-only sequence is unsupported.
- * @throws UnsupportedOperationException always
- */
- @Override
- @UnsupportedOperation
- public final void insert(final T item, final int index) {
- throw defaultException();
- }
-
- /**
- * Updating an item in a read-only sequence is unsupported.
- * @throws UnsupportedOperationException always
- */
- @Override
- @UnsupportedOperation
- public final T update(final int index, final T item) {
- throw defaultException();
- }
-
- /**
- * Removing an item from a read-only sequence is unsupported.
- * @throws UnsupportedOperationException always
- */
- @Override
- @UnsupportedOperation
- public final int remove(final T item) {
- throw defaultException();
- }
-
- /**
- * Removing an item from a read-only sequence is unsupported.
- * @throws UnsupportedOperationException always
- */
- @Override
- @UnsupportedOperation
- public final Sequence<T> remove(final int index, final int count) {
- throw defaultException();
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.collections;
+
+import java.io.Serializable;
+import java.util.Arrays;
+
+import org.apache.pivot.annotations.UnsupportedOperation;
+
+/**
+ * A read-only implementation of the {@link Sequence} interface that can be
used
+ * to easily implement other read-only sequences, lists, adapters, etc.
+ * <p> "Read-only" because all operations (such as {@link #add}, {@link
#insert},
+ * and etc. will throw {@link UnsupportedOperationException} and are marked
with
+ * {@link UnsupportedOperation} annotation.
+ *
+ * @param <T> The base type of objects in this sequence.
+ */
+public abstract class ReadOnlySequence<T> implements Sequence<T>, Serializable
{
+ private static final long serialVersionUID = -2547032333033014540L;
+
+ /** The simple name of our (derived) class, for message purposes. */
+ private final String simpleClassName = this.getClass().getSimpleName();
+
+ /** Format of the default exception message. */
+ private static final String MSG_FORMAT =
+ "The \"%1$s\" method is unsupported because %2$s is read-only
(immutable).";
+
+ /**
+ * @return A new {@link UnsupportedOperationException} with a fancy message
+ * detailing the method and class name that was in error.
+ */
+ public UnsupportedOperationException defaultException() {
+ StackTraceElement[] stackTrace =
Thread.currentThread().getStackTrace();
+ StackTraceElement[] modifiedStackTrace =
Arrays.copyOfRange(stackTrace, 2, stackTrace.length);
+ String callingMethodName = modifiedStackTrace[0].getMethodName();
+ String message = String.format(MSG_FORMAT, callingMethodName,
simpleClassName);
+ UnsupportedOperationException exception = new
UnsupportedOperationException(message);
+ exception.setStackTrace(modifiedStackTrace);
+ return exception;
+ }
+
+ /**
+ * Adding an item to a read-only sequence is unsupported.
+ * @throws UnsupportedOperationException always
+ */
+ @Override
+ @UnsupportedOperation
+ public final int add(final T item) {
+ throw defaultException();
+ }
+
+ /**
+ * Inserting an item into a read-only sequence is unsupported.
+ * @throws UnsupportedOperationException always
+ */
+ @Override
+ @UnsupportedOperation
+ public final void insert(final T item, final int index) {
+ throw defaultException();
+ }
+
+ /**
+ * Updating an item in a read-only sequence is unsupported.
+ * @throws UnsupportedOperationException always
+ */
+ @Override
+ @UnsupportedOperation
+ public final T update(final int index, final T item) {
+ throw defaultException();
+ }
+
+ /**
+ * Removing an item from a read-only sequence is unsupported.
+ * @throws UnsupportedOperationException always
+ */
+ @Override
+ @UnsupportedOperation
+ public final int remove(final T item) {
+ throw defaultException();
+ }
+
+ /**
+ * Removing an item from a read-only sequence is unsupported.
+ * @throws UnsupportedOperationException always
+ */
+ @Override
+ @UnsupportedOperation
+ public final Sequence<T> remove(final int index, final int count) {
+ throw defaultException();
+ }
+
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/collections/ReadOnlySequence.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic function that accept n (in this
case 0) arguments
- * and returns a value.
- */
-public interface Function0<R> {
- public R apply();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic function that accept n (in this
case 0) arguments
+ * and returns a value.
+ */
+public interface Function0<R> {
+ public R apply();
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function0.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic function that accept n (in this
case 1) arguments
- * and returns a value.
- */
-public interface Function1<R, T1> {
- public R apply(T1 a);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic function that accept n (in this
case 1) arguments
+ * and returns a value.
+ */
+public interface Function1<R, T1> {
+ public R apply(T1 a);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function1.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic function that accept n (in this
case 2) arguments
- * and returns a value.
- */
-public interface Function2<R, T1, T2> {
- public R apply(T1 a, T2 b);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic function that accept n (in this
case 2) arguments
+ * and returns a value.
+ */
+public interface Function2<R, T1, T2> {
+ public R apply(T1 a, T2 b);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function2.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic function that accept n (in this
case 3) arguments
- * and returns a value.
- */
-public interface Function3<R, T1, T2, T3> {
- public R apply(T1 a, T2 b, T3 c);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic function that accept n (in this
case 3) arguments
+ * and returns a value.
+ */
+public interface Function3<R, T1, T2, T3> {
+ public R apply(T1 a, T2 b, T3 c);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Function3.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java
Tue Oct 31 19:15:47 2023
@@ -1,26 +1,26 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic function that accept n arguments
- * (in this case variable, but all of the same type) and returns a value.
- */
-public interface FunctionN<R, T> {
- @SuppressWarnings("unchecked")
- public R apply(T... a);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic function that accept n arguments
+ * (in this case variable, but all of the same type) and returns a value.
+ */
+public interface FunctionN<R, T> {
+ @SuppressWarnings("unchecked")
+ public R apply(T... a);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/FunctionN.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic predicate that test the given
argument
- * and returns a boolean value.
- */
-public interface Predicate<T> {
- public boolean test(T a);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic predicate that test the given
argument
+ * and returns a boolean value.
+ */
+public interface Predicate<T> {
+ public boolean test(T a);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Predicate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java
Tue Oct 31 19:15:47 2023
@@ -1,27 +1,27 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic procedure that accept n (in this
case 0) arguments
- * and returns no value (void).
- */
-@FunctionalInterface
-public interface Procedure0 {
- /** This procedure's functional method to call. */
- void apply();
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic procedure that accept n (in this
case 0) arguments
+ * and returns no value (void).
+ */
+@FunctionalInterface
+public interface Procedure0 {
+ /** This procedure's functional method to call. */
+ void apply();
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure0.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic procedure that accept n (in this
case 1) arguments
- * and returns no value (void).
- */
-public interface Procedure1<T1> {
- public void apply(T1 a);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic procedure that accept n (in this
case 1) arguments
+ * and returns no value (void).
+ */
+public interface Procedure1<T1> {
+ public void apply(T1 a);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure1.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic procedure that accept n (in this
case 2) arguments
- * and returns no value (void).
- */
-public interface Procedure2<T1, T2> {
- public void apply(T1 a, T2 b);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic procedure that accept n (in this
case 2) arguments
+ * and returns no value (void).
+ */
+public interface Procedure2<T1, T2> {
+ public void apply(T1 a, T2 b);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure2.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java
Tue Oct 31 19:15:47 2023
@@ -1,25 +1,25 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic procedure that accept n (in this
case 3) arguments
- * and returns no value (void).
- */
-public interface Procedure3<T1, T2, T3> {
- public void apply(T1 a, T2 b, T3 c);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic procedure that accept n (in this
case 3) arguments
+ * and returns no value (void).
+ */
+public interface Procedure3<T1, T2, T3> {
+ public void apply(T1 a, T2 b, T3 c);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/Procedure3.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java
Tue Oct 31 19:15:47 2023
@@ -1,26 +1,26 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.pivot.functional.functions;
-
-/**
- * Interface for the definition of a generic procedure that accept n arguments
- * (in this case variable, but all of the same type) and returns no value
(void).
- */
-public interface ProcedureN<T> {
- @SuppressWarnings("unchecked")
- public void apply(T... a);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.pivot.functional.functions;
+
+/**
+ * Interface for the definition of a generic procedure that accept n arguments
+ * (in this case variable, but all of the same type) and returns no value
(void).
+ */
+public interface ProcedureN<T> {
+ @SuppressWarnings("unchecked")
+ public void apply(T... a);
+}
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/ProcedureN.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html
URL:
http://svn.apache.org/viewvc/pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html?rev=1913470&r1=1913469&r2=1913470&view=diff
==============================================================================
--- pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html
(original)
+++ pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html Tue
Oct 31 19:15:47 2023
@@ -1,23 +1,23 @@
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to you under the Apache License,
-Version 2.0 (the "License"); you may not use this file except in
-compliance with the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-
-<html>
-<head></head>
-<body>
-<p>Contains a set of classes and interfaces for implementing generic Functions
and Procedures (see FP).</p>
-</body>
-</html>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License,
+Version 2.0 (the "License"); you may not use this file except in
+compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<html>
+<head></head>
+<body>
+<p>Contains a set of classes and interfaces for implementing generic Functions
and Procedures (see FP).</p>
+</body>
+</html>
Propchange:
pivot/trunk/core/src/org/apache/pivot/functional/functions/package.html
------------------------------------------------------------------------------
svn:eol-style = native