yegor256 / names-vs-complexity

How compound variable names affect complexity of Java methods
https://www.yegor256.com/2015/01/12/compound-name-is-code-smell.html
9 stars 2 forks source link

object of type 'NoneType' has no len() #3

Open yegor256 opened 4 years ago

yegor256 commented 4 years ago

I'm seeing this:

object of type 'NoneType' has no len(): clones//Yalantis/uCrop/ucrop/src/main/java/com/yalantis/ucrop/util/FileUtils.java
object of type 'NoneType' has no len(): clones//Yalantis/uCrop/ucrop/src/main/java/com/yalantis/ucrop/task/BitmapLoadTask.java
object of type 'NoneType' has no len(): clones//Curzibn/Luban/example/src/main/java/top/zibin/luban/example/PathUtils.java
object of type 'NoneType' has no len(): clones//Curzibn/Luban/library/src/main/java/top/zibin/luban/Luban.java
object of type 'NoneType' has no len(): clones//Justson/AgentWeb/agentweb-core/src/main/java/com/just/agentweb/AgentWebUtils.java
object of type 'NoneType' has no len(): clones//java-decompiler/jd-gui/app/src/main/java/org/jd/gui/view/component/panel/MainTabbedPanel.java
object of type 'NoneType' has no len(): clones//java-decompiler/jd-gui/app/src/main/java/org/jd/gui/view/component/panel/TreeTabbedPanel.java
object of type 'NoneType' has no len(): clones//java-decompiler/jd-gui/app/src/main/java/org/jd/gui/view/AboutView.java
object of type 'NoneType' has no len(): clones//java-decompiler/jd-gui/app/src/main/java/org/jd/gui/service/configuration/ConfigurationXmlPersisterProvider.java

Would be great to get rid of this error

yegor256 commented 4 years ago

@goonnors can you please check?

ghost commented 4 years ago

Yes, i will check it today

ghost commented 4 years ago

made changes in this PR #4