You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/01 00:41:00 UTC

[jira] [Commented] (GEODE-3256) Refactor DataCommands

    [ https://issues.apache.org/jira/browse/GEODE-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108214#comment-16108214 ] 

ASF GitHub Bot commented on GEODE-3256:
---------------------------------------

GitHub user YehEmily opened a pull request:

    https://github.com/apache/geode/pull/672

    GEODE-3256: Refactoring DataCommands

    [View the JIRA ticket here.](https://issues.apache.org/jira/browse/GEODE-3256)
    
    `DataCommands.java` was a large class that contained multiple commands. Each command was refactored into a separate class, and the methods shared by the commands were refactored into a new and appropriately named class of their own (`DataCommandsUtils`).
    
    **Testing Done: Precheckin to be run on morning of 8/1**
    
    - [x] JIRA ticket
    
    - [x] PR rebased
    
    - [x] Single, squashed commit
    
    - [x] Does `gradlew build` runs cleanly
    
    - [ ] No unit tests updated with this change (yet) - some related tests could stand to be refactored (especially `GemfireDataCommandsDUnitTest`), but I think I will leave these for [GEODE-1359](https://issues.apache.org/jira/browse/GEODE-1359).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/YehEmily/geode GEODE-3256

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/geode/pull/672.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #672
    
----
commit 017e39eb9cfe27c010c4c31f248c3fcdeab391f9
Author: YehEmily <em...@gmail.com>
Date:   2017-07-31T23:45:19Z

    GEODE-3256: Refactoring DataCommands

----


> Refactor DataCommands
> ---------------------
>
>                 Key: GEODE-3256
>                 URL: https://issues.apache.org/jira/browse/GEODE-3256
>             Project: Geode
>          Issue Type: Sub-task
>          Components: gfsh
>            Reporter: Emily Yeh
>            Assignee: Emily Yeh
>
> {{DataCommands.java}} is a large class that contains multiple commands. Each command should be refactored into a separate class, and the methods shared by the commands should be refactored into a new and appropriately named class of their own.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)