`
kang
  • 浏览: 474377 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

工具check Style和Find Bugs生成的report、Code两点

    博客分类:
  • NBS
阅读更多

 

工具 check Style Find Bugs生成的 report

「」で違う型のオブジェクトを比較するのに equals() を使用しています。

不同类型的对象进行比较,却使用了 equals()

違う(ちがう): 不同的

型(かた): 类型

オブジェクト( object ):对象

比較(ひかく): 比较

使用(しよう): 使用

-》两个对象,类型都不一样,你还比较个啥劲啊, 呵呵。(20090514追加)

 

 

SQL 文件的 SQL 语句中可以有硬编码(比如案件的各种状态的编码),但是程序代码中不要出现硬编码。

-》硬编码,在程序代码中,要尽量避免,也是为了将来更加便于维护。(20090514追加)

 

 

Code ,从下往上:先 SQL 文件,再写 DAO 接口和实现类,再往上写 Manager 接口和实现类。

调用关系是从上到下: Manager->DAO->SQL 文件。

-》先写下层,再写上层,从下往上写,写上层时直接调用下层写好的部分(比如方法)就可以了。(20090514追加)

 

 

分享到:
评论

相关推荐

    FastReport.v4.15 for.Delphi.BCB.Full.Source企业版含ClientServer中文修正版支持D4-XE5

    + added support of /PAGE tag in TfrxRichView, engine automatically break report pages when find /PAGE tag + added ability to hide Null values in TfrxChartView (TfrxChartView.IgnoreNulls = True) + ...

    CE中文版-启点CE过NP中文.exe

    "find what addresses this code accesses" can also be used on RET instructions now (useful to find callers) The graphical memory view now has a lot more options to set it just the way you need Codepage...

    a project model for the FreeBSD Project.7z

    These are usually the most active developers who are willing to spend their time not only integrating their own code but integrating code submitted by the developers who do not have this privilege....

    Bochs - The cross platform IA-32 (x86) emulator

    bugs were closed/fixed [2588085] Mouse capture [3140332] typo in mf3/ps2 mapping of BX_KEY_CTRL_R [3111577] No "back" option in log settings [3108422] Timing window in NE2K emulation [3084390] ...

    VclZip pro v3.10.1

    VCLZip will now check for CancelTheOperation during initial building of the fileslist instead of just during compression processing. Added a final call to OnTotalPercentDone with 100% because this ...

    xyplorer_full.zip

    Feel free to contact us to get support, report bugs or give suggestions. Again, primarily via the user forum, please. And don't forget to check the web site for news and product updates. Terms ...

    8-07-14_MegaCLI for linux_windows

    LSIP200232870 (DFCT) Add a Gen2 to Gen3 toggle function and a check for the PCI speed to MegaSCU/CLI [ PR : LSIP200231423 ] LSIP200232927 (DFCT) Port PR 198414 to MR5.4 (Headless Boot) ...

    Senfore_DragDrop_v4.1

    If you mail a bug report to me, please include the words "Drag Drop" in the subject of your email. ------------------------------------------- 7. Upgrades and bug fixes: ----------------------------...

    occam一维反演

    c optimization routines, we leave it to the user to find the response of c the final model, using low cunning or the program 'FindResponse.f'. c c includes: include 'imp.inc' include 'occamdim.inc' ...

    DebuggingWithGDB 6.8-2008

    Table of Contents Summary of gdb . . . . . . . . ....Free Software ....Free Software Needs Free Documentation ....Contributors to gdb....1 A Sample gdb Session ....2 Getting In and Out of gdb ....2.1 Invoking gdb ....

Global site tag (gtag.js) - Google Analytics