- 博客(8)
- 收藏
- 关注
原创 静态代码检查工具对比 lint checkStyles findbugs PMD
都优先在开发过程中本地使用 ,推荐程度 : lint > checkStyles > findbugs > PMD将lint配置到jenkins ,打包前检查 ,主要检查未使用资源区别 :findbug :检查JAVA类和JAR 包,发现如NPE 等问题PMD : 检查源代码,发现如无用代码等问题checkStyles : 按照规则,检查不符合代码规范的问题Lint :Andr...
2018-04-12 20:59:29
1561
原创 Throwable Error Exception RuntimeException 解析
ThrowableThe Throwable class is the superclass of all errors and exceptions in the Java language. Only objects that are instances of this class (or one of its subclasses) are thrown by the Java Vir
2017-12-12 13:28:07
935
原创 混淆出错 proguard.ParseException Unexpected keyword
cWarning: Exception while processing task java.io.IOException: proguard.ParseException: Unexpected keyword 'com.xx.**' in line 289 of file '/opt2/jenkins/workspace/MyApplication/app/proguard-rules.p
2017-11-17 17:44:01
4605
1
原创 Android 与 设计模式(2)——工厂模式
工厂模式不会对使用者暴露创建逻辑,并且是通过使用一个共同的接口来指向新创建的对象。 以简单工厂为例// 提供统一的抽象接口供子类实现public interface Factory { void create();}// 子类实现抽象接口public class Computer implements Factory{ @Override public void c
2017-08-15 20:46:10
454
原创 一个demo掌握Android Manifest文件的android:supportsRtl="true"属性(7.22)
supportsRtl ==> supports right to lift 是否支持 从右到左的布局(主要是方便从右到左的阅读习惯)官网注解 :Declares whether your application is willing to support right-to-left (RTL) layouts
2017-07-19 10:39:55
738
原创 java Object 全解析(未完待续)
简介Objects 是Java所有类的基类(即使没有显示继承 extend Object) 除构造方法分为以下几类 : 1)getClass() 2)hashcode(),eques(),clone(),internalClone() 3)notify() ,notifyAll() ,wait(),wait(long),wait(long,int) 4)finalize()源码
2017-07-04 20:33:08
274
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人