We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee46d5 commit 614011eCopy full SHA for 614011e
docs/CH17.md
@@ -100,7 +100,7 @@ public class SomethingDemo {
100
Note: SomethingDemo.java uses or overrides a deprecated API.
101
Note: Recompile with -Xlint:deprecation for details.
102
103
-想要知道詳細的警訊內容的話,可以在編譯時加上 -Xline:deprecation 引數,編譯器會告訴您是因為您使用了某個被 @Deprecated 標示了的方法而提出警訊,加上 -Xline:deprecation 引數顯示的完整訊息如下:
+想要知道詳細的警訊內容的話,可以在編譯時加上 -Xlint:deprecation 引數,編譯器會告訴您是因為您使用了某個被 @Deprecated 標示了的方法而提出警訊,加上 -Xlint:deprecation 引數顯示的完整訊息如下:
104
105
javac -Xlint:deprecation -d . SomethingDemo.java
106
SomethingDemo.java:6: warning: [deprecation] getSomething() in
0 commit comments