incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Javier Puerto (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DROIDS-90) Refactor static methods out of functionality classes
Date Sat, 14 Aug 2010 09:55:16 GMT

    [ https://issues.apache.org/jira/browse/DROIDS-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898557#action_12898557
] 

Javier Puerto commented on DROIDS-90:
-------------------------------------

Could you provide a patch for SaveHandler? I think that the classes in test should be untouched
till we resolved the DROIDS-89 issue. The extracted method can be placed in a "FileUtil" class
in package "org.apache.droids.helper".

> Refactor static methods out of functionality classes
> ----------------------------------------------------
>
>                 Key: DROIDS-90
>                 URL: https://issues.apache.org/jira/browse/DROIDS-90
>             Project: Droids
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.0.1
>            Reporter: Eugen Paraschiv
>             Fix For: 0.0.1
>
>
> There are static methods (main, utility methods) present in functionality classes: 
> Save - createFile
> FileRenameDroid - main
> SimpleWalkingDroid - main
> These should be refactored out of the functionality classes - the createFile method should
be in an utility class and the main methods in the examples and documentation. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message