Use GHCommitState for deployment status state

This commit is contained in:
Surya Gaddipati
2015-01-12 10:04:01 -06:00
parent 5d83894056
commit 58143c26bc

View File

@@ -28,8 +28,8 @@ public class GHDeploymentStatus extends Identifiable {
public URL getRepositoryUrl() {
return GitHub.parseURL(repository_url);
}
public GHCommitState getState() {
return GHCommitState.valueOf(state.toUpperCase());
public GHDeploymentState getState() {
return GHDeploymentState.valueOf(state.toUpperCase());
}