Skip to content

Commit f70415d

Browse files
committed
fix comments style in swift files
1 parent 68eb945 commit f70415d

19 files changed

Lines changed: 1701 additions & 2269 deletions

Sources/JavaStdlib/JavaIO/generated/BufferedInputStream.swift

Lines changed: 54 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -10,102 +10,84 @@ open class BufferedInputStream: InputStream {
1010
@JavaMethod
1111
@_nonoverride public convenience init(_ arg0: InputStream?, _ arg1: Int32, environment: JNIEnvironment? = nil)
1212

13-
/**
14-
* Java method `reset`.
15-
*
16-
* ### Java method signature
17-
* ```java
18-
* public synchronized void java.io.BufferedInputStream.reset() throws java.io.IOException
19-
* ```
20-
*/
13+
/// Java method `reset`.
14+
///
15+
/// ### Java method signature
16+
/// ```java
17+
/// public synchronized void java.io.BufferedInputStream.reset() throws java.io.IOException
18+
/// ```
2119
@JavaMethod
2220
open override func reset() throws
2321

24-
/**
25-
* Java method `close`.
26-
*
27-
* ### Java method signature
28-
* ```java
29-
* public void java.io.BufferedInputStream.close() throws java.io.IOException
30-
* ```
31-
*/
22+
/// Java method `close`.
23+
///
24+
/// ### Java method signature
25+
/// ```java
26+
/// public void java.io.BufferedInputStream.close() throws java.io.IOException
27+
/// ```
3228
@JavaMethod
3329
open override func close() throws
3430

35-
/**
36-
* Java method `mark`.
37-
*
38-
* ### Java method signature
39-
* ```java
40-
* public synchronized void java.io.BufferedInputStream.mark(int)
41-
* ```
42-
*/
31+
/// Java method `mark`.
32+
///
33+
/// ### Java method signature
34+
/// ```java
35+
/// public synchronized void java.io.BufferedInputStream.mark(int)
36+
/// ```
4337
@JavaMethod
4438
open override func mark(_ arg0: Int32)
4539

46-
/**
47-
* Java method `read`.
48-
*
49-
* ### Java method signature
50-
* ```java
51-
* public synchronized int java.io.BufferedInputStream.read(byte[],int,int) throws java.io.IOException
52-
* ```
53-
*/
40+
/// Java method `read`.
41+
///
42+
/// ### Java method signature
43+
/// ```java
44+
/// public synchronized int java.io.BufferedInputStream.read(byte[],int,int) throws java.io.IOException
45+
/// ```
5446
@JavaMethod
5547
open override func read(_ arg0: [Int8], _ arg1: Int32, _ arg2: Int32) throws -> Int32
5648

57-
/**
58-
* Java method `read`.
59-
*
60-
* ### Java method signature
61-
* ```java
62-
* public synchronized int java.io.BufferedInputStream.read() throws java.io.IOException
63-
* ```
64-
*/
49+
/// Java method `read`.
50+
///
51+
/// ### Java method signature
52+
/// ```java
53+
/// public synchronized int java.io.BufferedInputStream.read() throws java.io.IOException
54+
/// ```
6555
@JavaMethod
6656
open override func read() throws -> Int32
6757

68-
/**
69-
* Java method `transferTo`.
70-
*
71-
* ### Java method signature
72-
* ```java
73-
* public synchronized long java.io.BufferedInputStream.transferTo(java.io.OutputStream) throws java.io.IOException
74-
* ```
75-
*/
58+
/// Java method `transferTo`.
59+
///
60+
/// ### Java method signature
61+
/// ```java
62+
/// public synchronized long java.io.BufferedInputStream.transferTo(java.io.OutputStream) throws java.io.IOException
63+
/// ```
7664
@JavaMethod
7765
open override func transferTo(_ arg0: OutputStream?) throws -> Int64
7866

79-
/**
80-
* Java method `skip`.
81-
*
82-
* ### Java method signature
83-
* ```java
84-
* public synchronized long java.io.BufferedInputStream.skip(long) throws java.io.IOException
85-
* ```
86-
*/
67+
/// Java method `skip`.
68+
///
69+
/// ### Java method signature
70+
/// ```java
71+
/// public synchronized long java.io.BufferedInputStream.skip(long) throws java.io.IOException
72+
/// ```
8773
@JavaMethod
8874
open override func skip(_ arg0: Int64) throws -> Int64
8975

90-
/**
91-
* Java method `available`.
92-
*
93-
* ### Java method signature
94-
* ```java
95-
* public synchronized int java.io.BufferedInputStream.available() throws java.io.IOException
96-
* ```
97-
*/
76+
/// Java method `available`.
77+
///
78+
/// ### Java method signature
79+
/// ```java
80+
/// public synchronized int java.io.BufferedInputStream.available() throws java.io.IOException
81+
/// ```
9882
@JavaMethod
9983
open override func available() throws -> Int32
10084

101-
/**
102-
* Java method `markSupported`.
103-
*
104-
* ### Java method signature
105-
* ```java
106-
* public boolean java.io.BufferedInputStream.markSupported()
107-
* ```
108-
*/
85+
/// Java method `markSupported`.
86+
///
87+
/// ### Java method signature
88+
/// ```java
89+
/// public boolean java.io.BufferedInputStream.markSupported()
90+
/// ```
10991
@JavaMethod
11092
open override func markSupported() -> Bool
11193
}

Sources/JavaStdlib/JavaIO/generated/FileDescriptor.swift

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,21 @@ open class FileDescriptor: JavaObject {
77
@JavaMethod
88
@_nonoverride public convenience init(environment: JNIEnvironment? = nil)
99

10-
/**
11-
* Java method `sync`.
12-
*
13-
* ### Java method signature
14-
* ```java
15-
* public void java.io.FileDescriptor.sync() throws java.io.SyncFailedException
16-
* ```
17-
*/
10+
/// Java method `sync`.
11+
///
12+
/// ### Java method signature
13+
/// ```java
14+
/// public void java.io.FileDescriptor.sync() throws java.io.SyncFailedException
15+
/// ```
1816
@JavaMethod
1917
open func sync() throws
2018

21-
/**
22-
* Java method `valid`.
23-
*
24-
* ### Java method signature
25-
* ```java
26-
* public boolean java.io.FileDescriptor.valid()
27-
* ```
28-
*/
19+
/// Java method `valid`.
20+
///
21+
/// ### Java method signature
22+
/// ```java
23+
/// public boolean java.io.FileDescriptor.valid()
24+
/// ```
2925
@JavaMethod
3026
open func valid() -> Bool
3127
}

0 commit comments

Comments
 (0)