<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>https://gracesleon.com/index.php?action=history&amp;feed=atom&amp;title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6</id>
	<title>Java源文件规约 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://gracesleon.com/index.php?action=history&amp;feed=atom&amp;title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6"/>
	<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;action=history"/>
	<updated>2026-04-19T15:06:11Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=127&amp;oldid=prev</id>
		<title>Leon：/* 前言 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=127&amp;oldid=prev"/>
		<updated>2019-07-18T04:41:11Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;前言&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:41的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/Document/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c&lt;/del&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/Document/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ali_Java_Developer's_Guide&lt;/ins&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=122&amp;oldid=prev</id>
		<title>Leon：/* 前言 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=122&amp;oldid=prev"/>
		<updated>2019-07-18T04:35:09Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;前言&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:35的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/Document&lt;/ins&gt;/%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=121&amp;oldid=prev</id>
		<title>Leon：/* 前言 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=121&amp;oldid=prev"/>
		<updated>2019-07-18T04:33:57Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;前言&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:33的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;AliCode&lt;/del&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c&lt;/ins&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=120&amp;oldid=prev</id>
		<title>Leon：/* 前言 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=120&amp;oldid=prev"/>
		<updated>2019-07-18T04:28:17Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;前言&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:28的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;阿里巴巴Java开发手册&lt;/del&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://ftpuser@47.92.209.132/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;AliCode&lt;/ins&gt;.pdf 阿里巴巴Java开发手册.pdf]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=119&amp;oldid=prev</id>
		<title>Leon：/* 前言 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=119&amp;oldid=prev"/>
		<updated>2019-07-18T04:26:43Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;前言&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:26的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://47.92.209.132/阿里巴巴Java开发手册.pdf 阿里巴巴Java开发手册]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ftpuser@&lt;/ins&gt;47.92.209.132/阿里巴巴Java开发手册.pdf 阿里巴巴Java开发手册&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.pdf&lt;/ins&gt;]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=118&amp;oldid=prev</id>
		<title>2019年7月18日 (四) 04:20 Leon</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=118&amp;oldid=prev"/>
		<updated>2019-07-18T04:20:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年7月18日 (四) 04:20的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot; &gt;第7行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第7行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;192&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;168&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;0&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;99&lt;/del&gt;/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Document/%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c&lt;/del&gt;.pdf 阿里巴巴Java开发手册]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;阅读本文档前请先阅读《[ftp://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;47&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;92&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;209&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;132&lt;/ins&gt;/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;阿里巴巴Java开发手册&lt;/ins&gt;.pdf 阿里巴巴Java开发手册]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== 结构规定 ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=99&amp;oldid=prev</id>
		<title>Leon：/* 代码长宽限制 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=99&amp;oldid=prev"/>
		<updated>2019-05-09T08:17:17Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;代码长宽限制&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年5月9日 (四) 08:17的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l314&quot; &gt;第314行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第314行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 代码长宽限制 ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 代码长宽限制 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Java方法代码长度避免超过100行（不含方法头的Java &lt;/del&gt;Doc注释）&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Java方法代码长度避免超过120行（不含方法头的Java &lt;/ins&gt;Doc注释）&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Java源文件宽度禁止超过120英文字符的宽度 (请通过Eclipse等IDE进行设置控制，请注意中文字符的宽度大于英文字符，所以应使用Eclipse控制注释的宽度在100个以内)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Java源文件宽度禁止超过120英文字符的宽度 (请通过Eclipse等IDE进行设置控制，请注意中文字符的宽度大于英文字符，所以应使用Eclipse控制注释的宽度在100个以内)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=78&amp;oldid=prev</id>
		<title>2019年4月23日 (二) 03:56 Leon</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=78&amp;oldid=prev"/>
		<updated>2019-04-23T03:56:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年4月23日 (二) 03:56的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l201&quot; &gt;第201行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第201行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;对一组功能类似的方法，short-cut的方法在前，复杂的方法在后。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;对一组功能类似的方法，short-cut的方法在前，复杂的方法在后。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;常用方法排序示例：&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* page&amp;#160;  方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* list&amp;#160;  方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* get&amp;#160; &amp;#160; 方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* insert 方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* update 方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* delete 方法&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 实例方法的声明 ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== 实例方法的声明 ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=39&amp;oldid=prev</id>
		<title>Leon：/* 代码缩进策略 */</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=39&amp;oldid=prev"/>
		<updated>2019-04-12T01:03:10Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;代码缩进策略&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2019年4月12日 (五) 01:03的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l340&quot; &gt;第340行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第340行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===代码缩进策略===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===代码缩进策略===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;使用&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;空格&amp;lt;/span&amp;gt;缩进，宽度默认为&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;4&lt;/del&gt;&amp;lt;/span&amp;gt;个字符&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;使用&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;空格&amp;lt;/span&amp;gt;缩进，宽度默认为&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/ins&gt;&amp;lt;/span&amp;gt;个字符&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Eclipse格式化可以自动调整，使符合此规范。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Eclipse格式化可以自动调整，使符合此规范。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
	<entry>
		<id>https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=22&amp;oldid=prev</id>
		<title>Leon：创建页面，内容为“== 前言 ==  本文档是研发规范的一部分，阐述一般性Java源文件的结构规范。  本文档关注一般源代码文件的组成项目、项目之…”</title>
		<link rel="alternate" type="text/html" href="https://gracesleon.com/index.php?title=Java%E6%BA%90%E6%96%87%E4%BB%B6%E8%A7%84%E7%BA%A6&amp;diff=22&amp;oldid=prev"/>
		<updated>2019-04-11T11:19:14Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“== 前言 ==  本文档是研发规范的一部分，阐述一般性Java源文件的结构规范。  本文档关注一般源代码文件的组成项目、项目之…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== 前言 ==&lt;br /&gt;
&lt;br /&gt;
本文档是研发规范的一部分，阐述一般性Java源文件的结构规范。&lt;br /&gt;
&lt;br /&gt;
本文档关注一般源代码文件的组成项目、项目之间先后顺序的规定，以及格式要求。&lt;br /&gt;
&lt;br /&gt;
本文档没有阐明各个项目元素的命名规范，这部分请参考：《[[平台代码规约]]》。&lt;br /&gt;
&lt;br /&gt;
阅读本文档前请先阅读《[ftp://192.168.0.99/Document/%e9%98%bf%e9%87%8c%e5%b7%b4%e5%b7%b4Java%e5%bc%80%e5%8f%91%e6%89%8b%e5%86%8c.pdf 阿里巴巴Java开发手册]》，与本规约冲突的地方&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;以本规约为准&amp;lt;/span&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
== 结构规定 ==&lt;br /&gt;
&lt;br /&gt;
=== 结构概览 ===&lt;br /&gt;
&lt;br /&gt;
* 文件头声明&lt;br /&gt;
* package行&lt;br /&gt;
* import块&lt;br /&gt;
* 类声明&lt;br /&gt;
* 静态成员变量 / Static Fields&lt;br /&gt;
* 静态初始化块 / Static Initialize&lt;br /&gt;
* public静态方法 / Public Static Methods&lt;br /&gt;
* 成员变量 / Fields&lt;br /&gt;
* 初始化块 / Initializer&lt;br /&gt;
* 构造器 / Constructors&lt;br /&gt;
* 成员方法 / Methods&lt;br /&gt;
* 非静态成员方法 / Static Methods&lt;br /&gt;
* 重载自Object的方法如toString(), hashCode() 和main方法&lt;br /&gt;
* 类型（内部类） / Types（Inner Classes）&lt;br /&gt;
&lt;br /&gt;
同等的类型，按private, protected, public的顺序排列。&lt;br /&gt;
&lt;br /&gt;
=== 文件头声明 ===&lt;br /&gt;
&lt;br /&gt;
文件头注释需标明SVN版本替换标签与版权信息两部分内容，如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * $Id:$&lt;br /&gt;
 * Copyright 2014-2017 Hebei Sinounited Technology Company Ltd. All rights reserved.&lt;br /&gt;
 */&lt;br /&gt;
package com.opensource.ap.security.service;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
在源码提交SVN服务器后，SVN版本替换标签信息将自动替换为文件名称、版本号、提交版本服务器时间、提交用户名等内容，如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * $Id: ApOrganService.java 210 2017-02-16 11:28:18Z Jades_He $&lt;br /&gt;
 * Copyright 2014-2017 Hebei Sinounited Technology Company Ltd. All rights reserved.&lt;br /&gt;
 */&lt;br /&gt;
package com.opensource.ap.security.service;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== package行 ===&lt;br /&gt;
&lt;br /&gt;
package声明紧跟在文件头声明内容之后、Import块之前，与其后内容留一空行，如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * $Id: ApOrganService.java 211 2015-05-25 11:33:24Z Jades_He $&lt;br /&gt;
 * Copyright 2014-2015 Hebei Sinounited Technology Company Ltd. All rights reserved.&lt;br /&gt;
 */&lt;br /&gt;
package com.opensource.ap.security.service;&lt;br /&gt;
&lt;br /&gt;
import java.util.HashMap;&lt;br /&gt;
import java.util.List;&lt;br /&gt;
import java.util.Map;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== import块 ===&lt;br /&gt;
&lt;br /&gt;
import块在package行之后、类声明之前，与前后内容之间各留一空行。&lt;br /&gt;
&lt;br /&gt;
静态导入(import static)在前，类导入在后。&lt;br /&gt;
&lt;br /&gt;
静态导入内容必须精确到变量或方法、导入类必须精确到具体的类。&lt;br /&gt;
&lt;br /&gt;
不同导入部分之间留一空行。&lt;br /&gt;
&lt;br /&gt;
可使用Eclipse快捷方式&amp;lt;code&amp;gt;ctrl + shirt + o&amp;lt;/code&amp;gt;自动完成。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * $Id: ApOrganService.java 212 2015-05-25 11:39:47Z Jades_He $&lt;br /&gt;
 * Copyright 2014-2015 Hebei Sinounited Technology Company Ltd. All rights reserved.&lt;br /&gt;
 */&lt;br /&gt;
package com.opensource.ap.security.service;&lt;br /&gt;
&lt;br /&gt;
import java.util.HashMap;&lt;br /&gt;
import java.util.List;&lt;br /&gt;
import java.util.Map;&lt;br /&gt;
&lt;br /&gt;
import org.springframework.beans.factory.annotation.Autowired;&lt;br /&gt;
import org.springframework.stereotype.Service;&lt;br /&gt;
&lt;br /&gt;
import com.opensource.ap.entity.ApOrganEntity;&lt;br /&gt;
import com.opensource.ap.security.constant.SecurityConstant;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 类声明 ===&lt;br /&gt;
&lt;br /&gt;
包括类Java Doc注释和类声明行两部分，注释在前，声明在后。&lt;br /&gt;
&lt;br /&gt;
类注释在import块之后，与其之间有一空行类注释需填写类摘要说明、@author、@since等必选信息，根据需要填写@version等信息。&lt;br /&gt;
&lt;br /&gt;
作为API提供的类，应在注释中简单说明如何使用，以及其它有助于快速、正确使用它的有关信息。&lt;br /&gt;
&lt;br /&gt;
类注释后紧跟类声明，其间无空行，如：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/**&lt;br /&gt;
 * 依照研发部《Java源文件规范》进行创建，用于提供一个示例。&lt;br /&gt;
 * &lt;br /&gt;
 * &amp;lt;p&amp;gt;&lt;br /&gt;
 * 在《Java源文件规范》中将使用到这个源文件的代码片段，形象说明规范要点。&lt;br /&gt;
 * &amp;lt;/p&amp;gt;&lt;br /&gt;
 * &lt;br /&gt;
 * &amp;lt;p&amp;gt;&lt;br /&gt;
 * 如果注释中出现和HTML冲突的字符，比如大于号{@literal &amp;gt;}，小于号{@literal &amp;lt;}，请使用@literal处理。&lt;br /&gt;
 * &amp;lt;/p&amp;gt;&lt;br /&gt;
 * &lt;br /&gt;
 * @author Jades.He&lt;br /&gt;
 * @since 2015年5月25日 下午8:11:59&lt;br /&gt;
 */&lt;br /&gt;
public class JavaSourceDemo {&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 静态成员变量&amp;amp;静态初始化块 ===&lt;br /&gt;
&lt;br /&gt;
final域在前，非final域变量在后&lt;br /&gt;
&lt;br /&gt;
private在前，public在后。&lt;br /&gt;
&lt;br /&gt;
域的初始化块紧接在域声明后，分开使用初始化块，不合成一起。&lt;br /&gt;
&lt;br /&gt;
综合初始化块，在所有域和静态初始化块后：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
public class JavaSourceDemo implements Serializable {&lt;br /&gt;
&lt;br /&gt;
 /** serialVersionUID */&lt;br /&gt;
 private static final long serialVersionUID = 1L;&lt;br /&gt;
&lt;br /&gt;
 /** Logger */&lt;br /&gt;
 protected static final Logger logger = LoggerFactory.getLogger(JavaSourceDemo.class);&lt;br /&gt;
&lt;br /&gt;
 /** 静态常量 */&lt;br /&gt;
 public static String VERSION;&lt;br /&gt;
&lt;br /&gt;
 static {&lt;br /&gt;
  VERSION = &amp;quot;1.0.0&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
public静态方法&lt;br /&gt;
&lt;br /&gt;
public静态方法在成员变量和构造器之前。&lt;br /&gt;
&lt;br /&gt;
main方法在所有静态方法之前。&lt;br /&gt;
&lt;br /&gt;
main方法要对输入参数格式做注释说明。&lt;br /&gt;
&lt;br /&gt;
=== 成员变量&amp;amp;实例初始化块 ===&lt;br /&gt;
&lt;br /&gt;
成员变量应定义为private或protected，谨慎使用public。&lt;br /&gt;
&lt;br /&gt;
成员变量应提供简单的&amp;lt;code&amp;gt;/** */&amp;lt;/code&amp;gt;单行注释，标明其中文名称或职责功能。&lt;br /&gt;
&lt;br /&gt;
成员变量与成员变量之间空一行。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
 /** 用户名 */&lt;br /&gt;
 private String username;&lt;br /&gt;
&lt;br /&gt;
 /** 密码 */&lt;br /&gt;
 private String password = &amp;quot;123&amp;quot;;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 构造器 ===&lt;br /&gt;
&lt;br /&gt;
构造器在实例成员后，实例方法前；&lt;br /&gt;
&lt;br /&gt;
根据Java语言规范，当类没有声明任何构造器时，Java认为其默认具有一个无参构造器；&lt;br /&gt;
&lt;br /&gt;
当类明确声明了构造器，Java不再为类默认添加任何构造器；&lt;br /&gt;
&lt;br /&gt;
有多个构造器时，参数少的在前，多的在后。&lt;br /&gt;
构造器的注释应该注重说明意图以及参数对对象的影响；&lt;br /&gt;
构造器的个数应该控制在有限个数内，否则应该使用Builder模式、静态工厂方法模式等替代方案(请参见&amp;lt;Effective Java&amp;gt;)；&lt;br /&gt;
&lt;br /&gt;
=== 实例方法顺序 ===&lt;br /&gt;
&lt;br /&gt;
一般原则：&lt;br /&gt;
&lt;br /&gt;
getter/setter方法,：getter在前，setter在后，使用eclipse自动生成Java Doc注释即可。&lt;br /&gt;
&lt;br /&gt;
* private方法&lt;br /&gt;
* protected方法&lt;br /&gt;
* package-protected方法&lt;br /&gt;
* public方法&lt;br /&gt;
&lt;br /&gt;
对一组功能类似的方法，short-cut的方法在前，复杂的方法在后。&lt;br /&gt;
&lt;br /&gt;
=== 实例方法的声明 ===&lt;br /&gt;
&lt;br /&gt;
对abstract方法实现的，重写父类方法的，必须声明@Override；&lt;br /&gt;
&lt;br /&gt;
对有相同参数个数的重载方法(overloaded)或称多态方法的，应该非常谨慎，改个名字最好；&lt;br /&gt;
&lt;br /&gt;
对public、protected一定要写Java Doc注释，而且是有效的。&lt;br /&gt;
&lt;br /&gt;
=== 非public静态方法 ===&lt;br /&gt;
&lt;br /&gt;
原则上：所有非public静态方法应该在所有实例方法之后，具名内部类前&lt;br /&gt;
&lt;br /&gt;
这类静态方法往往是一些函数性、工具性的方法&lt;br /&gt;
&lt;br /&gt;
特例：有些非public静态方法，是为一组功能相似或紧密的方法使用的，如果放在这些静态或实例方法后面更有助于代码阅读，应贯彻此特例。这类同于short-cut&lt;br /&gt;
&lt;br /&gt;
请参考&amp;lt;code&amp;gt;String.java&amp;lt;/code&amp;gt;的&amp;lt;code&amp;gt;indexOf&amp;lt;/code&amp;gt;和&amp;lt;code&amp;gt;lastIndexOf&amp;lt;/code&amp;gt;两个静态方法的位置。&lt;br /&gt;
&lt;br /&gt;
==注释规定==&lt;br /&gt;
&lt;br /&gt;
对public和protected的元素都必须写Java Doc注释：说明API意图/功能(第一行)、是否可用于多线程(默认不说明应该保证可用于多线程下)、是否是线程安全的(默认不说明应该保证线程安全) 、输入参数规格(@param)、输出规格(@return)、对象或参数处于某特定状态将抛什么异常(@throws)，以及对使用该类或方法的前提条件以及后置条件进行说明(如有限制的话)&lt;br /&gt;
&lt;br /&gt;
Java Doc注释不要过多陈述“代码的内部实现”，而应从使用者的角度进行陈述。&lt;br /&gt;
&lt;br /&gt;
对public/protected元素而言，Java Doc说明甚至是最重要的资产。&lt;br /&gt;
&lt;br /&gt;
对private方法，也应该简单说明一下其意图或功能，以便于后续维护。&lt;br /&gt;
&lt;br /&gt;
===类注释===&lt;br /&gt;
&lt;br /&gt;
见[[#.E7.B1.BB.E5.A3.B0.E6.98.8E|类声明]]&lt;br /&gt;
&lt;br /&gt;
===方法注释===&lt;br /&gt;
&lt;br /&gt;
方法注释需填写摘要说明、@author、@since等必选信息。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  /**&lt;br /&gt;
   * &lt;br /&gt;
   * @param args&lt;br /&gt;
   * @author Jades.He&lt;br /&gt;
   * @since 2017年2月17日 上午9:10:12&lt;br /&gt;
   */&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    // TODO Auto-generated method stub&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===失效代码注释===&lt;br /&gt;
&lt;br /&gt;
由&amp;lt;code&amp;gt;/*...*/&amp;lt;/code&amp;gt;界定，标准的C-Style的注释。专用于注释已失效的代码。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
/*&lt;br /&gt;
 * Comment out the code&lt;br /&gt;
 * String s = &amp;quot;hello&amp;quot;;&lt;br /&gt;
 * System.out.println(s);&lt;br /&gt;
 */&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===代码细节注释===&lt;br /&gt;
&lt;br /&gt;
由//界定，专用于注释代码细节，即使有多行注释也仍然使用&amp;lt;code&amp;gt;//&amp;lt;/code&amp;gt;，以便与用&amp;lt;code&amp;gt;/**/&amp;lt;/code&amp;gt;注释的失效代码分开&lt;br /&gt;
除了私有变量外，不推荐使用行末注释。其他代码使用行首注释&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
class MyClass {&lt;br /&gt;
    /** An end-line comment. */&lt;br /&gt;
    private int myField;&lt;br /&gt;
    public void myMethod {&lt;br /&gt;
       // a very very long&lt;br /&gt;
       // comment.&lt;br /&gt;
       if (condition1) {&lt;br /&gt;
          // condition1 comment&lt;br /&gt;
          ...&lt;br /&gt;
        } else {&lt;br /&gt;
          // elses condition comment&lt;br /&gt;
          ...&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 其他规定 ==&lt;br /&gt;
&lt;br /&gt;
=== 代码字符规定 ===&lt;br /&gt;
&lt;br /&gt;
源代码使用&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;UTF-8&amp;lt;/span&amp;gt;进行编码，创建Java工程时应进行确认或调整。&lt;br /&gt;
&lt;br /&gt;
请把Eclpse的默认环境设置为UTF-8&lt;br /&gt;
&amp;lt;code&amp;gt;Eclipse -&amp;gt; General  -&amp;gt; Workspace -&amp;gt; Text file encoding -&amp;gt; Other UTF-8&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
例外：properities文件请默认保持拉丁字符集，不可调为UTF-8或GBK&lt;br /&gt;
&lt;br /&gt;
源代码换行符，明确调整为&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;Unix&amp;lt;/span&amp;gt;方式&lt;br /&gt;
&lt;br /&gt;
我们的开发人员普遍使用Window和Unix操作系统开发，为统一起见而规此定。&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Eclipse -&amp;gt; General  -&amp;gt; Workspace -&amp;gt; New Text file line delimiter -&amp;gt; Other Unix&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 代码长宽限制 ===&lt;br /&gt;
&lt;br /&gt;
Java方法代码长度避免超过100行（不含方法头的Java Doc注释）&lt;br /&gt;
&lt;br /&gt;
Java源文件宽度禁止超过120英文字符的宽度 (请通过Eclipse等IDE进行设置控制，请注意中文字符的宽度大于英文字符，所以应使用Eclipse控制注释的宽度在100个以内)&lt;br /&gt;
&lt;br /&gt;
每个Java代码行(不管是否折行了)，在调用方可调整的情况下，禁止超过120个字符&lt;br /&gt;
&lt;br /&gt;
违反以上规定，不仅仅妨碍了代码可读性的提高，往往也意味中代码在设计、开发上有相当的改进空间。应寻找时间改善，提升代码设计质量、可维护性。&lt;br /&gt;
&lt;br /&gt;
=== 代码折行策略 ===&lt;br /&gt;
&lt;br /&gt;
====在分隔符号后折行====&lt;br /&gt;
&lt;br /&gt;
逗号(,) 分号(;) 赋值号(=)&lt;br /&gt;
&lt;br /&gt;
Eclipse格式化可以自动调整，使符合此规范。&lt;br /&gt;
&lt;br /&gt;
====在运算符号前折行====&lt;br /&gt;
算术符号(+, -, *)，关系运算符(&amp;amp;&amp;amp;, ||), ...&lt;br /&gt;
&lt;br /&gt;
Eclipse格式化可以自动调整，使符合此规范。&lt;br /&gt;
&lt;br /&gt;
考虑使用行注释符&amp;lt;code&amp;gt;//&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
IDE的折行策略大部分是可行的，但是也有一些折行，IDE工具处理得很糟糕。&lt;br /&gt;
&lt;br /&gt;
通过行注释符可以强制改变IDE自动折行策略，使按照我们定义的方式折行。&lt;br /&gt;
&lt;br /&gt;
可在 // 后，写 NL (=new line)，以明确告知读者，这里用于折行&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
   MemberDealerAcct memberDealerAcct = memberDealerAcctDao.selectByPrimaryKey( // NL&lt;br /&gt;
     memberFeeDtl.getMemberDealerAcctId());&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===代码缩进策略===&lt;br /&gt;
&lt;br /&gt;
使用&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;空格&amp;lt;/span&amp;gt;缩进，宽度默认为&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt;4&amp;lt;/span&amp;gt;个字符&lt;br /&gt;
&lt;br /&gt;
Eclipse格式化可以自动调整，使符合此规范。&lt;br /&gt;
&lt;br /&gt;
=== Annotation标注风格===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| 请使用 || 不使用&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
@Override&lt;br /&gt;
 public String toString() {&lt;br /&gt;
     return xxx;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
// 如果有多个Annotation，每个一行&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
@Override public String toString() {&lt;br /&gt;
     return xxx;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
public @Override String toString() {&lt;br /&gt;
     return xxx;&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===泛型使用规定===&lt;br /&gt;
&lt;br /&gt;
按照《Effective Java》建议，在新代码中应该使用泛型；&lt;br /&gt;
&lt;br /&gt;
对List，Set， Map等集合类，我们强制使用；&lt;br /&gt;
&lt;br /&gt;
对兼容旧代码的，实在没办法处理的，必须使用@SuppressWarnings(&amp;quot;uncheck&amp;quot;)处理，但禁止在Class级别使用，只能使用在方法或变量级别；&lt;br /&gt;
&lt;br /&gt;
提交到版本库的代码不能出现warnnings警告&lt;br /&gt;
&lt;br /&gt;
===方法的命名规则===&lt;br /&gt;
&lt;br /&gt;
方法命名的基本原则：见名知意&lt;br /&gt;
一般的方法名采用两个单词动宾结构形式的名称，两个单词之间不要带其它符号，第二个单词的首字母大写，其它的都小写。&lt;br /&gt;
如：findUser(int userId)、deleteUser(int userId)&lt;br /&gt;
只有一个动词形式的方法名不推荐使用。&lt;br /&gt;
不容易看明白的方法名或有歧义的方法名可采用多单词的形式，每两个单词之间不要带其它符号，从第二个单词开始，每个单词的首字母大写，其它的都小写如：findUserByUserId(int userId)、findUserByUserIdAndYear(int userId, int year)&lt;br /&gt;
&lt;br /&gt;
===odds &amp;amp; ends===&lt;br /&gt;
&lt;br /&gt;
* 一行文本行，不要有2个代码行：argv++; argc--; // AVOID!&lt;br /&gt;
* 对单独的if-else里面的语句，强制使用括号&lt;br /&gt;
* 覆盖或实现父类的方法必须标明注解：@Override&lt;br /&gt;
* 判断一个对象不为空时不使用&amp;lt;code&amp;gt; !=null&amp;lt;/code&amp;gt;来判断，应使用如下方式：&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
    if (!(entity == null)) {&lt;br /&gt;
      // TODO&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* 代码中的&amp;lt;code&amp;gt;TODO&amp;lt;/code&amp;gt;必须有实际意义，IDE自动生成的需删除：&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
  public static void main(String[] args) {&lt;br /&gt;
    // 下一行自动生成的TODO必须删除！&lt;br /&gt;
    // TODO Auto-generated method stub&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Leon</name></author>
		
	</entry>
</feed>