donhui / sonar-mybatis

MyBatis Plugin for SonarQube: Rules to check SQL statements in MyBatis Mapper XML files
Other
74 stars 21 forks source link

change to fix nullpointerexception #18

Closed bastyle closed 5 years ago

bastyle commented 5 years ago

Changes to fix nullpointer when the xml file has different format. Also i optimized some sentences.

 <select 
        id="findAll" 
        parameterType="java.util.HashMap" 
        resultType="cl.cns.serviceregistrarionservice.serviceregistrationserver.InfoServices">
        SELECT * FROM SERVICES
    </select>
donhui commented 5 years ago

@bbasstyle Thanks for your PR.

donhui commented 5 years ago

I noticed that your git config is not correct just now, I will correct it . Thanks for your contribution again.

bastyle commented 5 years ago

I noticed that your git config is not correct just now, I will correct it . Thanks for your contribution again.

Ok @donhui can you tell me about this problem to fix it please.

donhui commented 5 years ago

I will use git rebase to change the author of your commit and then use git push -f to push the code to GitHub repository.

donhui commented 5 years ago

@bbasstyle before: image aftter: image

bastyle commented 5 years ago

@bbasstyle before: image aftter: image

Great. thanks.