-
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.224 )
- Loading branch information
1 parent
efd185b
commit 565673b
Showing
54 changed files
with
10,675 additions
and
10,641 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: 6 additions & 10 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,15 +1,11 @@ | ||
<html> | ||
<body> | ||
报告除非抛出异常否则无限调用自身的方法。 | ||
<p> | ||
此检查报告的方法不能正常返回。 | ||
虽然此类行为可能是有意为之,但在许多情况下,可能纯属疏忽。 | ||
</p> | ||
报告具有无限递归的方法和函数。 | ||
<p><b>示例:</b></p> | ||
<pre><code> int baz() { | ||
return baz(); | ||
}</code></pre> | ||
<!-- tooltip end --> | ||
|
||
<pre><code> | ||
int factorial(int n) { | ||
return n * factorial(n - 1); | ||
} | ||
</code></pre> | ||
</body> | ||
</html> |
16 changes: 0 additions & 16 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,21 +1,5 @@ | ||
<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> |
2 changes: 1 addition & 1 deletion
2
original-plugin-raw/zh/intentionDescriptions/ChangeToCStyleCommentIntention/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> | ||
将一条或多条行尾注释转换为块注释。 | ||
将一个或多个行尾注释替换为等效的 C 样式块注释。 | ||
</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
20 changes: 17 additions & 3 deletions
20
original-plugin-raw/zh/intentionDescriptions/DemorgansIntention/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,21 @@ | ||
<html> | ||
<body> | ||
遵循德摩根定律将把合取或析取运算替换为取反的对应运算。 | ||
<p>如果布尔运算在 <code>if</code> 或 <code>unless</code> 语句内部,则可以翻转语句修饰符 | ||
以简化最终结果。</p> | ||
在布尔表达式中时,将 | ||
<table> | ||
<tr> | ||
<td> </td> | ||
<td> | ||
<code>a || b</code> 替换为 <code>!(!a && !b)</code> 或 | ||
</td> | ||
</tr> | ||
<tr> | ||
<td> </td> | ||
<td> | ||
<code>a && b</code> 替换为 <code>!(!a || !b)</code> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
。 | ||
</body> | ||
</html> |
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> | ||
将使用 <code>boolean</code> 表达式的 <code>return</code> 或赋值语句替换为等效的 <code>if</code> <code>else</code> 语句。 | ||
<p>用等效的 <b>if-then-else</b> 语句替换使用布尔表达式的 <b>return</b> 语句。</p> | ||
</body> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
original-plugin-raw/zh/intentionDescriptions/FlipComparisonIntention/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> | ||
翻转比较表达式中的符号。 | ||
交换比较表达式的操作数。 | ||
</body> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
original-plugin-raw/zh/intentionDescriptions/FlipConditionalIntention/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> | ||
翻转条件运算符的分支。 | ||
交换条件表达式的分支。 | ||
</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> | ||
如果 <code>else</code> 仅包含嵌套的 if-else 语句,则合并 if-else 语句的 <code>else</code> 分支。 | ||
<p>如果 <b>if-else</b> 语句的 <b>else</b> 分支仅包含嵌套的 <b>if-else</b> 语句,则合并 <b>else</b> 。</p> | ||
</body> | ||
</html> | ||
</html> |
2 changes: 1 addition & 1 deletion
2
original-plugin-raw/zh/intentionDescriptions/MergeIfAndIntention/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> | ||
将另一个 if-else 的 then 分支中的 if-else 语句合并到一个 if-else 中。 | ||
如果第二个语句位于第一个语句的 then 分支内,则将两个 <code>if</code> 语句合并为一个。 | ||
</body> | ||
</html> |
5 changes: 3 additions & 2 deletions
5
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,5 +1,6 @@ | ||
<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> | ||
</body> | ||
</html> | ||
</html> |
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/intentionDescriptions/RemoveParcelableAction/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,6 @@ | ||
<html> | ||
<body> | ||
移除实现 <code>Parcelable</code> 的方法和 <code>CREATOR</code> 对象。 | ||
<p><code>警告</code>:您的自定义代码将被移除。</p> | ||
此意图会移除实现 Parcelable 的方法。<br/> | ||
<b>警告</b>:您的自定义代码将被移除。 | ||
</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> | ||
将 else-if 分支拆分为等效的嵌套 if 语句。 | ||
<p>拆分 <b> if-else</b> 语句的 <b>else</b> 分支。</p> | ||
</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> | ||
将条件中包含合取运算的 if 语句转换为两个包含简化条件的嵌套 if 语句。 | ||
<p>将条件中包含合取运算的 <b>if</b> 语句转换为两个包含简化条件的嵌套 <b>if</b> 语句。</p> | ||
</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
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
4 changes: 2 additions & 2 deletions
4
original-plugin-raw/zh/messages/EduCodeInsightBundle.properties
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,2 @@ | ||
task.description.completion.course.schema.description=链接到课程项: 课目、任务等 | ||
task.description.completion.psi.schema.description=链接到代码元素: 类、方法等 | ||
task.description.completion.course.schema.description=链接到课程项\: 课目、任务等 | ||
task.description.completion.psi.schema.description=链接到代码元素\: 类、方法等 |
Oops, something went wrong.