Skip to content

Commit 9de710f

Browse files
committed
Fix JavaDoc deprecated casing
1 parent bb3b7de commit 9de710f

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

src/mslinks/LinkTargetIDList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void serialize(ByteWriter bw) throws IOException {
7575
}
7676

7777
/**
78-
* @Deprecated Equivalent of {@link #canBuildPath()} method
78+
* @deprecated Equivalent of {@link #canBuildPath()} method
7979
*/
8080
@Deprecated(since = "1.0.9", forRemoval = true)
8181
public boolean isCorrect() {

src/mslinks/ShellLink.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private Serializable getExtraDataBlock(int signature) {
338338
}
339339

340340
/**
341-
* @Deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#saveTo(String path) }
341+
* @deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#saveTo(String path) }
342342
*/
343343
@Deprecated(since = "1.0.7", forRemoval = true)
344344
public ShellLink saveTo(String path) throws IOException {
@@ -349,7 +349,7 @@ public ShellLink saveTo(String path) throws IOException {
349349
/**
350350
* Set path to target file or directory. Function accepts local paths and network paths.
351351
* Environment variables are accepted but resolved here and aren't kept in the link.
352-
* @Deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#setNetworkTarget(String path)} or {@link ShellLinkHelper#setLocalTarget(String drive, String absolutePath)}
352+
* @deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#setNetworkTarget(String path)} or {@link ShellLinkHelper#setLocalTarget(String drive, String absolutePath)}
353353
*/
354354
@Deprecated(since = "1.0.7", forRemoval = true)
355355
public ShellLink setTarget(String target) {
@@ -371,7 +371,7 @@ public ShellLink setTarget(String target) {
371371
}
372372

373373
/**
374-
* @Deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#setNetworkTarget(String path)} or {@link ShellLinkHelper#setLocalTarget(String drive, String absolutePath)}
374+
* @deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#setNetworkTarget(String path)} or {@link ShellLinkHelper#setLocalTarget(String drive, String absolutePath)}
375375
*/
376376
@Deprecated(since = "1.0.7", forRemoval = true)
377377
public static ShellLink createLink(String target) {
@@ -381,7 +381,7 @@ public static ShellLink createLink(String target) {
381381
}
382382

383383
/**
384-
* @Deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#createLink(String target, String linkpath)}
384+
* @deprecated Use new ShellLinkHelper API: {@link ShellLinkHelper#createLink(String target, String linkpath)}
385385
*/
386386
@Deprecated(since = "1.0.7", forRemoval = true)
387387
public static ShellLink createLink(String target, String linkpath) throws IOException {

src/mslinks/data/ItemID.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static ItemID createItem(int typeFlags) throws ShellLinkException {
111111
protected int typeFlags;
112112

113113
/**
114-
* @Deprecated Instances of this class should not be created directly. The class is going to be abstract
114+
* @deprecated Instances of this class should not be created directly. The class is going to be abstract
115115
*/
116116
@Deprecated(since = "1.0.9", forRemoval = true)
117117
public ItemID(int flags) {
@@ -236,14 +236,14 @@ protected static String generateShortName(String longname) {
236236
private ItemID internalItemId;
237237

238238
/**
239-
* @Deprecated Instances of this class should not be created directly. The class is going to be abstract
239+
* @deprecated Instances of this class should not be created directly. The class is going to be abstract
240240
*/
241241
@Deprecated(since = "1.0.9", forRemoval = true)
242242
public ItemID() {
243243
}
244244

245245
/**
246-
* @Deprecated Instances of this class should not be created directly. The class is going to be abstract
246+
* @deprecated Instances of this class should not be created directly. The class is going to be abstract
247247
*/
248248
@Deprecated(since = "1.0.9", forRemoval = true)
249249
public ItemID(byte[] d) throws IOException, ShellLinkException {
@@ -254,7 +254,7 @@ public ItemID(byte[] d) throws IOException, ShellLinkException {
254254
}
255255

256256
/**
257-
* @Deprecated Instances of this class should not be created directly. The class is going to be abstract
257+
* @deprecated Instances of this class should not be created directly. The class is going to be abstract
258258
*/
259259
@Deprecated(since = "1.0.9", forRemoval = true)
260260
public ItemID(ByteReader br, int maxSize) throws IOException, ShellLinkException {
@@ -264,7 +264,7 @@ public ItemID(ByteReader br, int maxSize) throws IOException, ShellLinkException
264264
}
265265

266266
/**
267-
* @Deprecated Use {@link ItemIDDrive} or {@link ItemIDFS}
267+
* @deprecated Use {@link ItemIDDrive} or {@link ItemIDFS}
268268
*/
269269
@Deprecated(since = "1.0.9", forRemoval = true)
270270
public String getName() {
@@ -278,7 +278,7 @@ else if (internalItemId instanceof ItemIDFS) {
278278
}
279279

280280
/**
281-
* @Deprecated Use {@link ItemIDDrive} or {@link ItemIDFS}
281+
* @deprecated Use {@link ItemIDDrive} or {@link ItemIDFS}
282282
*/
283283
@Deprecated(since = "1.0.9", forRemoval = true)
284284
public ItemID setName(String s) throws ShellLinkException {
@@ -293,7 +293,7 @@ else if (internalItemId instanceof ItemIDFS) {
293293
}
294294

295295
/**
296-
* @Deprecated Use {@link ItemIDFS}
296+
* @deprecated Use {@link ItemIDFS}
297297
*/
298298
@Deprecated(since = "1.0.9", forRemoval = true)
299299
public int getSize() {
@@ -304,7 +304,7 @@ public int getSize() {
304304
}
305305

306306
/**
307-
* @Deprecated Use {@link ItemIDFS}
307+
* @deprecated Use {@link ItemIDFS}
308308
*/
309309
@Deprecated(since = "1.0.9", forRemoval = true)
310310
public ItemID setSize(int s) throws ShellLinkException {
@@ -316,15 +316,15 @@ public ItemID setSize(int s) throws ShellLinkException {
316316
}
317317

318318
/**
319-
* @Deprecated Use {@link #getTypeFlags()}
319+
* @deprecated Use {@link #getTypeFlags()}
320320
*/
321321
@Deprecated(since = "1.0.9", forRemoval = true)
322322
public int getType() {
323323
return getTypeFlags();
324324
}
325325

326326
/**
327-
* @Deprecated Use {@link #setTypeFlags(int flags)}. However, in new API you should create instances
327+
* @deprecated Use {@link #setTypeFlags(int flags)}. However, in new API you should create instances
328328
* of an appropriate class extending this one and use {@code setTypeFlags(int flags)} only to set
329329
* type-specific flags corresponding to the {@link #ID_TYPE_INGROUPMASK}
330330
*/

0 commit comments

Comments
 (0)