src/net/jeanhwea/in/Reader.java
private int removeZeroDurationTasks() {
		List<Task> l_tasks_to_remove = new LinkedList<Task>();
		
		for (Task t : project_file.getAllTasks()) {
			Duration dura = getDuration(t);
			if (dura == null || dura.getDuration() == 0) {
			  l_tasks_to_remove.add(t);
			}
		}
		
		for (Task t : l_tasks_to_remove) {
			delTask(t);
		}
		
		return l_tasks_to_remove.size();
	}
/**
	 * Remove zero duration task before load tasks
	 * 
	 * @return size to remove
	 */
Remove zero duration task before load tasks

@return size to remove
Remove zero duration task before load tasks @return size to remove
private int removeZeroDurationTasks() {
		List<Task> l_tasks_to_remove = new LinkedList<Task>();
		for (Task t : project_file.getAllTasks()) {
			Duration dura = getDuration(t);
			if (dura == null || dura.getDuration() == 0) {
			  l_tasks_to_remove.add(t);
			}
		}
		for (Task t : l_tasks_to_remove) {
			delTask(t);
		}
		return l_tasks_to_remove.size();
	}
private int removeZeroDurationTasks ( ) { List < Task > l_tasks_to_remove = new LinkedList < Task > ( ) ; for ( Task t : project_file . getAllTasks ( ) ) { Duration dura = getDuration ( t ) ; if ( dura == null || dura . getDuration ( ) == 0 ) { l_tasks_to_remove . add ( t ) ; } } for ( Task t : l_tasks_to_remove ) { delTask ( t ) ; } return l_tasks_to_remove . size ( ) ; }
Remove zero duration task before load tasks
Remove zero duration task before load tasks