-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(original): update original source ( 223.228 )
- Loading branch information
1 parent
fc11b26
commit 9e1b544
Showing
56 changed files
with
10,595 additions
and
10,560 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 10 additions & 6 deletions
16
original-plugin-raw/zh/inspectionDescriptions/InfiniteRecursion.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
<html> | ||
<body> | ||
报告具有无限递归的方法和函数。 | ||
报告除非抛出异常否则无限调用自身的方法。 | ||
<p> | ||
此检查报告的方法不能正常返回。 | ||
虽然此类行为可能是有意为之,但在许多情况下,可能纯属疏忽。 | ||
</p> | ||
<p><b>示例:</b></p> | ||
<pre><code> | ||
int factorial(int n) { | ||
return n * factorial(n - 1); | ||
} | ||
</code></pre> | ||
<pre><code> int baz() { | ||
return baz(); | ||
}</code></pre> | ||
<!-- tooltip end --> | ||
|
||
</body> | ||
</html> |
16 changes: 16 additions & 0 deletions
16
original-plugin-raw/zh/inspectionDescriptions/RedundantCast.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,21 @@ | ||
<html> | ||
<body> | ||
报告不必要的转换表达式。 | ||
|
||
<p>示例:</p> | ||
<pre><code> | ||
static Object toObject(String s) { | ||
return (Object) s; | ||
} | ||
</code></pre> | ||
<!-- tooltip end --> | ||
<p> | ||
使用下面的复选框可以忽略澄清转换,例如应为 <code>Object</code> 的集合调用中的转换: | ||
<pre><code> | ||
static void removeFromList(List<String> l, Object o) { | ||
l.remove((String)o); | ||
} | ||
</code></pre> | ||
|
||
</body> | ||
</html> |
7 changes: 5 additions & 2 deletions
7
original-plugin-raw/zh/intentionDescriptions/AddNameToArgumentIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
<html><body> | ||
<p>将命名实参用作当前和后续的实参。</p></body></html> | ||
<html> | ||
<body> | ||
向函数的所选实参添加形参名称。 | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 1 addition & 5 deletions
6
...plugin-raw/zh/intentionDescriptions/DefineImplicitVariableIntentionLocal/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<html> | ||
<body> | ||
在当前模板文件的注释中声明隐式 FreeMarker 变量 | ||
</body> | ||
</html> | ||
在当前模板文件的注释中声明隐式 Velocity 变量。 |
7 changes: 1 addition & 6 deletions
7
...aw/zh/intentionDescriptions/DefineImplicitVariableIntentionLocalExternal/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
<html> | ||
<body> | ||
在外部文件中声明隐式 FreeMarker 变量。 | ||
当前模块中的每个 FreeMarker 模板都可以使用此变量。 | ||
</body> | ||
</html> | ||
在外部文件中声明隐式 Velocity 变量,以避免源文件与 IntelliJ IDEA 特定的注释混淆。 |
6 changes: 1 addition & 5 deletions
6
...n-raw/zh/intentionDescriptions/DefineImplicitVariableIntentionModuleWide/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
<html> | ||
<body> | ||
在外部文件中声明隐式 FreeMarker 变量,以避免源文件与 IntelliJ IDEA 特定的注释混淆。 | ||
</body> | ||
</html> | ||
在外部文件中声明隐式 Velocity 变量。 该变量将在当前模块的每个 Velocity 模板中可用。 |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/ExpandBooleanIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>用等效的 <b>if-then-else</b> 语句替换使用布尔表达式的 <b>return</b> 语句。</p> | ||
将使用 <code>boolean</code> 表达式的声明、<code>return</code> 或赋值语句替换为等效的 <code>if</code> <code>else</code> 语句。 | ||
</body> | ||
</html> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/ImportAllMembersIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>使用通配符语法导入软件包或类的所有内容,并用非限定的引用替换所有出现的内容。</p> | ||
添加所选引用的所有成员的导入,并移除该引用在文件中的显式用法。 | ||
</body> | ||
</html> | ||
</html> |
4 changes: 1 addition & 3 deletions
4
original-plugin-raw/zh/intentionDescriptions/InvertIfConditionIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>使用内部条件倒置的 <code>if</code> 语句替换另一个 <code>if</code> 语句。 | ||
此意图对于例如简化使用多个嵌套 <code>if</code> 语句的复杂代码很有用。 | ||
</p> | ||
反转 <code>if</code> 条件表达式。 | ||
</body> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/MergeElseIfIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>如果 <b>if-else</b> 语句的 <b>else</b> 分支仅包含嵌套的 <b>if-else</b> 语句,则合并 <b>else</b> 。</p> | ||
如果此 <code>else</code> 分支仅包含嵌套的 <code>if...else</code> 语句,则合并 <code>if...else</code> 语句的 <code>else</code> 分支。 | ||
</body> | ||
</html> | ||
</html> |
7 changes: 4 additions & 3 deletions
7
original-plugin-raw/zh/intentionDescriptions/NegateComparisonIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<html> | ||
<body> | ||
<p>将布尔比较表达式 <b>a</b> <small>op</small> <b>b</b> 转换为 !( <b>a</b> <small>negop</small> <b>b</b> )。 | ||
其中 <small>op</small> 和 <small>negop</small> 是互逆的比较运算符,如 == 和 !=。</p> | ||
将布尔比较表达式 <code><b>a</b> op <b>b</b></code> 转换为 <code>!( <b>a</b> negop <b>b</b>)</code>。 | ||
|
||
<p>在这个表达式中,<code>op</code> 和 <code>negop</code> 是互逆比较运算符,如 <code>==</code> 和 <code>!=</code>。</p> | ||
</body> | ||
</html> | ||
</html> |
3 changes: 1 addition & 2 deletions
3
...lugin-raw/zh/intentionDescriptions/RemoveUnnecessaryParenthesesIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>从表达式中移除不必要的圆括号。 | ||
当禁用<b>不必要的圆括号</b>检查时,此功能可用。</p> | ||
移除不必要的圆括号。 | ||
</body> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/SplitElseIfIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>拆分 <b> if-else</b> 语句的 <b>else</b> 分支。</p> | ||
拆分 <code> if-else</code> 语句的 <code>else</code> 分支。 | ||
</body> | ||
</html> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/SplitIfIntention/description.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<html> | ||
<body> | ||
<p>将条件中包含合取运算的 <b>if</b> 语句转换为两个包含简化条件的嵌套 <b>if</b> 语句。</p> | ||
将条件中包含合取运算的 if 语句转换为两个包含简化条件的嵌套 if 语句。 | ||
</body> | ||
</html> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.