# HG changeset patch
# User Jiri Vanek
@@ -103,12 +103,12 @@
/**
* Will add new record. Note that regexes are stored for bases matching.
*
- * eg {@link UnsignedAppletActionEntry} which will deny some applet no matter of
- * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)}
+ * eg UnsignedAppletActionEntry which will deny some applet no matter of
+ * page will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER{@code , new }{@link java.util.Date#Date() Date()}{@code , null, null, someMain, someArchives)}
*
* eg {@link UnsignedAppletActionEntry} which will
- * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (}{@link ExecuteUnsignedApplet#NEVER}{@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);}
+ * allow all applets on page with same codebase will be {@code new }{@link UnsignedAppletActionEntry#UnsignedAppletActionEntry UnsignedAppletActionEntry}{@code (} ExecuteUnsignedApplet#NEVER {@code , new }{@link java.util.Date#Date() Date()}{@code , ".*", ".*", null, null);}
*
* The character encoders, in general, have been structured
* around a central theme that binary data can be encoded into
* text that has the form:
@@ -47,7 +46,6 @@
* [Line Prefix][encoded data atoms][Line Suffix]
* [Buffer Suffix]
*
- *
* Of course in the simplest encoding schemes, the buffer has no
* distinct prefix of suffix, however all have some fixed relationship
@@ -64,11 +62,11 @@
* abstract methods in this class.
*
* In general, the character decoders return error in the form of a
@@ -123,7 +121,7 @@
/**
* This method does an actual decode. It takes the decoded bytes and
* writes them to the OutputStream. The integer l tells the
- * method how many bytes are required. This is always <= bytesPerAtom().
+ * method how many bytes are required. This is always less or equal to bytesPerAtom().
*/
protected void decodeAtom(PushbackInputStream aStream, OutputStream bStream, int l) throws IOException {
throw new CEStreamExhausted();
@@ -149,8 +147,7 @@
* Decode the text from the InputStream and write the decoded
* octets to the OutputStream. This method runs until the stream
* is exhausted.
- * @exception CEFormatException An error has occured while decoding
- * @exception CEStreamExhausted The input stream is unexpectedly out of data
+ * @exception IOException The input stream is unexpectedly out of data, An error has occured while decoding
*/
public void decodeBuffer(InputStream aStream, OutputStream bStream) throws IOException {
int i;
@@ -185,7 +182,7 @@
/**
* Alternate decode interface that takes a String containing the encoded
* buffer and returns a byte array containing the data.
- * @exception CEFormatException An error has occured while decoding
+ * @exception IOException An error has occured while decoding
*/
public byte decodeBuffer(String inputString)[] throws IOException {
byte inputBuffer[] = new byte[inputString.length()];
diff -r 0c8e7d6eff33 -r fcb841380712 netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java
--- a/netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java Tue Dec 18 11:21:44 2018 +0100
+++ b/netx/net/sourceforge/jnlp/util/replacements/CharacterEncoder.java Tue Dec 18 11:22:16 2018 +0100
@@ -39,7 +39,7 @@
* A character encoder is an algorithim for transforming 8 bit binary
* data into text (generally 7 bit ASCII or 8 bit ISO-Latin-1 text)
* for transmition over text channels such as e-mail and network news.
- *
+
* The character encoders have been structured around a central theme
* that, in general, the encoded text has the form:
*
- * bytesPerAtom which tells the decoder how many bytes to
- * expect from decodeAtom
- * decodeAtom which decodes the bytes sent to it as text.
- * bytesPerLine which tells the encoder the maximum number of
- * bytes per line.
+ *
*
- *
@@ -47,25 +47,22 @@
* [Line Prefix][encoded data atoms][Line Suffix]
* [Buffer Suffix]
*
+ *
* In the {@code CharacterEncoder} and {@link CharacterDecoder} * classes, one complete chunk of data is referred to as a * buffer. Encoded buffers are all text, and decoded buffers * (sometimes just referred to as buffers) are binary octets. *
- *- * To create a custom encoder, you must, at a minimum, overide three + * To create a custom encoder, you must, at a minimum, overide three * abstract methods in this class. *
+ *
* Several useful encoders have already been written and are * referenced in the See Also list below. *
@@ -107,7 +104,7 @@ /** * Encode the suffix that ends every output line. By default - * this method just prints a* NOTE: Before adding new self-sufficient {@code public static} methods - * to this package please evaluate thier suitability for {@link UI} first.
+ * to this package please evaluate thier suitability for @link UI first. * @since IcedTea-Web 1.5 */ package net.sourceforge.jnlp.util.ui; diff -r 0c8e7d6eff33 -r fcb841380712 netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java --- a/netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java Tue Dec 18 11:21:44 2018 +0100 +++ b/netx/net/sourceforge/swing/ThreadCheckingRepaintManager.java Tue Dec 18 11:22:16 2018 +0100 @@ -46,7 +46,7 @@ /** * Initially there was a rule that it is safe to create and use Swing components until they are realized but this * rule is not valid any more, and now it is recommended to interact with Swing from EDT only. - * + * * That's why completeCheck flag is used - if you test the old program switch it to false, but new applications * should be tested with completeCheck set to true* * diff -r 0c8e7d6eff33 -r fcb841380712 tests/junit-runner/JunitLikeXmlOutputListener.java --- a/tests/junit-runner/JunitLikeXmlOutputListener.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/junit-runner/JunitLikeXmlOutputListener.java Tue Dec 18 11:22:16 2018 +0100 @@ -389,7 +389,7 @@ * * You just put eg @Bug(id="RH12345",id="http:/my.bukpage.com/terribleNew") * and RH12345 will be transalated as - * 123456 or + * 123456 or * similar, the url will be inclueded as is. Both added to proper tests or suites * * @return Strng[2]{nameToBeShown, hrefValue} diff -r 0c8e7d6eff33 -r fcb841380712 tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java --- a/tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/annotations/Bug.java Tue Dec 18 11:22:16 2018 +0100 @@ -58,7 +58,7 @@ * and http://mail.openjdk.java.net/pipermail/ are proceed differently * You just put eg @Bug(id="RH12345",id="http:/my.bukpage.com/terribleNew") * and RH12345 will be transalated as - * 123456 or + * 123456 or * similar, the url will be inclueded as is. Both added to proper tests or suites * */ diff -r 0c8e7d6eff33 -r fcb841380712 tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java --- a/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/awt/AWTHelper.java Tue Dec 18 11:22:16 2018 +0100 @@ -337,8 +337,8 @@ * 4. sets screenCapture indicator to true (after tryKTimes unsuccessfull * tries an exception "ComponentNotFound" will be raised) * - * @throws AWTException - * @throws ComponentNotFoundException + * @throws ComponentNotFoundException + * @throws AWTFrameworkException * @throws AWTFrameworkException */ public void captureScreenAndFindAppletByIcon() throws ComponentNotFoundException, AWTFrameworkException { diff -r 0c8e7d6eff33 -r fcb841380712 tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java --- a/tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/awt/imagesearch/ComponentFinder.java Tue Dec 18 11:22:16 2018 +0100 @@ -104,8 +104,8 @@ * * @param icon * @param iconPosition - * @param appletWidth - * @param appletHeight + * @param windowWidth + * @param windowHeight * @param screenshot * @return Rectangle rectangle where the applet resides */ diff -r 0c8e7d6eff33 -r fcb841380712 tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java --- a/tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/test-extensions/net/sourceforge/jnlp/tools/MessageProperties.java Tue Dec 18 11:22:16 2018 +0100 @@ -71,7 +71,8 @@ * @param locale the localization of Messages.properties to search * @param key * @return the message corresponding to the given key from the specified localization - * @throws IOException if the specified Messages localization is unavailable + * + * can throw wrapped IOException if the specified Messages localization is unavailable */ public static String getMessage(Locale locale, String key) { ResourceBundle bundle = PropertyResourceBundle.getBundle(resourcePath, locale); diff -r 0c8e7d6eff33 -r fcb841380712 tests/test-extensions/sun/applet/mock/PluginPipeMock.java --- a/tests/test-extensions/sun/applet/mock/PluginPipeMock.java Tue Dec 18 11:21:44 2018 +0100 +++ b/tests/test-extensions/sun/applet/mock/PluginPipeMock.java Tue Dec 18 11:22:16 2018 +0100 @@ -8,7 +8,7 @@ import java.util.concurrent.LinkedBlockingQueue; /** - * Helper for getting an input & output stream for use with PluginStreamHandler. + * Helper for getting an input and output stream for use with PluginStreamHandler. * Provides a convenient way of reading the Java requests and sending mocked * plugin responses. *