summaryrefslogtreecommitdiff
path: root/dev-java/rxtx/files/rxtx-2.2_pre2-fix-invalid-javadoc.patch
blob: a00ed96f7e5a95f3ea6c1149ea5b94dc90ba2143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
From 4c47d6d133f727a9615987d582fa143e4a17cd01 Mon Sep 17 00:00:00 2001
From: Yuan Liao <liaoyuan@gmail.com>
Date: Sun, 20 Feb 2022 08:17:59 -0800
Subject: [PATCH] Fix invalid Javadoc syntax that leads to errors

Bug: https://bugs.gentoo.org/642030
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
---
 src/gnu/io/RXTXPort.java | 50 ++++++++++++++++++++++------------------
 1 file changed, 27 insertions(+), 23 deletions(-)

diff --git a/src/gnu/io/RXTXPort.java b/src/gnu/io/RXTXPort.java
index 622a6a8..77a23ea 100644
--- a/src/gnu/io/RXTXPort.java
+++ b/src/gnu/io/RXTXPort.java
@@ -1732,7 +1732,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param  port the name of the port thats been preopened
 	*  @return BaudRate on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*  This will not behave as expected with custom speeds
 	*
 	*/
@@ -1751,7 +1751,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param  port the name of the port thats been preopened
 	*  @return DataBits on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 	public static int staticGetDataBits( String port )
@@ -1770,7 +1770,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param  port the name of the port thats been preopened
 	*  @return Parity on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 	public static int staticGetParity( String port )
@@ -1789,7 +1789,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param  port the name of the port thats been preopened
 	*  @return StopBits on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 	public static int staticGetStopBits( String port )
@@ -1839,7 +1839,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  the port a second time later on.
 	*
 	*  @return true on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1862,7 +1862,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  the port a second time later on.
 	*
 	*  @return true on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1885,7 +1885,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  the port a second time later on.
 	*
 	*  @return none
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1907,7 +1907,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1927,7 +1927,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1947,7 +1947,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1967,7 +1967,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -1987,7 +1987,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -2007,7 +2007,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*
 	*  @param port
 	*  @return true if asserted
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*/
 
@@ -2025,7 +2025,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  This is an extension to CommAPI.  It may not be supported on
 	*  all operating systems.
 	*  @return int the Parity Error Character
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*  Anyone know how to do this in Unix?
 	*/
@@ -2049,7 +2049,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  all operating systems.
 	*  @param b Parity Error Character
 	*  @return boolean true on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*  Anyone know how to do this in Unix?
 	*/
@@ -2067,7 +2067,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  This is an extension to CommAPI.  It may not be supported on
 	*  all operating systems.
 	*  @return int the End of Input Character
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*
 	*  Anyone know how to do this in Unix?
 	*/
@@ -2091,7 +2091,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  all operating systems.
 	*  @param b End Of Input Character
 	*  @return boolean true on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*/
 
 	public boolean setEndOfInputChar( byte b )
@@ -2111,7 +2111,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  or "16750".
 	*  @param test boolean flag to determin if the UART should be tested.
 	*  @return boolean true on success
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*/
 	public boolean setUARTType(String type, boolean test)
 		throws UnsupportedCommOperationException
@@ -2127,7 +2127,7 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  @return type String representation of the UART type which mayb
 	*  be "none", "8250", "16450", "16550", "16550A", "16650", "16550V2"
 	*  or "16750".
-	*  @throws UnsupportedCommOperationException;
+	*  @throws UnsupportedCommOperationException
 	*/
 	public String getUARTType() throws UnsupportedCommOperationException
 	{
@@ -2140,7 +2140,8 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  @param BaudBase The clock frequency divided by 16.  Default
 	*  BaudBase is 115200.
 	*  @return true on success
-	*  @throws UnsupportedCommOperationException, IOException
+	*  @throws UnsupportedCommOperationException
+	*  @throws IOException
 	*/
 
 	public boolean setBaudBase(int BaudBase)
@@ -2155,7 +2156,8 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	/**
 	*  Extension to CommAPI
 	*  @return BaudBase
-	*  @throws UnsupportedCommOperationException, IOException
+	*  @throws UnsupportedCommOperationException
+	*  @throws IOException
 	*/
 
 	public int getBaudBase() throws UnsupportedCommOperationException,
@@ -2170,7 +2172,8 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	*  Extension to CommAPI.  Set Baud Base to 38600 on Linux and W32
 	*  before using.
 	*  @param Divisor
-	*  @throws UnsupportedCommOperationException, IOException
+	*  @throws UnsupportedCommOperationException
+	*  @throws IOException
 	*/
 
 	public boolean setDivisor(int Divisor)
@@ -2184,7 +2187,8 @@ Documentation is at http://java.sun.com/products/jdk/1.2/docs/api/java/io/InputS
 	/**
 	*  Extension to CommAPI
 	*  @return Divisor;
-	*  @throws UnsupportedCommOperationException, IOException
+	*  @throws UnsupportedCommOperationException
+	*  @throws IOException
 	*/
 
 	public int getDivisor() throws UnsupportedCommOperationException,
-- 
2.34.1