Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2010 - 2016 TopCoder Inc., All Rights Reserved.
* Copyright (C) 2010 - 2017 TopCoder Inc., All Rights Reserved.
*/
package com.topcoder.direct.services.view.action.contest.launch;

Expand Down Expand Up @@ -265,8 +265,16 @@
* <li>Updated {@link #executeAction()}</li>
* </ul>
* </p>
* @author fabrizyo, FireIce, Veve, isv, GreatKevin, flexme, frozenfx, bugbuka, GreatKevin, Veve
* @version 2.3
*
* <p>
* Version 2.4 (TOPCODER DIRECT - SUPPORT CHALLENGES WITH ZERO PRIZE):
* <ul>
* <li>Updated {@link #populateCompetition(SoftwareCompetition)} method to accept zero prize</li>
* </ul>
* </p>
*
* @author fabrizyo, FireIce, Veve, isv, GreatKevin, flexme, frozenfx, bugbuka, TCSCODER
* @version 2.4
*/
public class SaveDraftContestAction extends ContestAction {
/**
Expand Down Expand Up @@ -964,7 +972,7 @@ public boolean evaluate(Object object) {
List<Prize> newPrizes = new ArrayList<Prize>();
if (prizes != null) {
for (Prize prize : prizes) {
if (prize.getPrizeAmount() > 0) {
if (prize.getPrizeAmount() >= 0) {
if (projectId > 0) {
prize.setProjectId(projectId);
} else {
Expand Down