Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | /*
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | 1,372 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,256 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.service;
/**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License... | 439 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.service.model;
import java.util.Date;
import java.util.Set;
import java.util.SortedSet;
import com.silverpeas.scheduleevent.service.model.beans.Contributor;
import com.silverpeas.scheduleevent.service.model.beans.DateOption;
import com.silverpeas.scheduleevent.service.mode... | 221 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 297 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,070 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 342 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 327 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 298 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 379 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 430 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 340 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 378 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,148 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 392 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,083 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 322 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 632 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 584 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 423 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 507 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 429 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | 309 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | 920 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | 982 |
github-java-corpus | 2,012 | /*
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | 1,593 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 366 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 504 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 526 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 524 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 372 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 569 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 368 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.servlets.handlers;
import javax.servlet.http.HttpServletRequest;
import com.silverpeas.scheduleevent.control.ScheduleEventSessionController;
public class ScheduleEventSimpleFormRequestHandler implements ScheduleEventBackableRequestHandler {
private String jspDestination;... | 174 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 358 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 564 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 538 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 400 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 395 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.servlets.handlers;
import javax.servlet.http.HttpServletRequest;
import com.silverpeas.scheduleevent.control.ScheduleEventSessionController;
public interface ScheduleEventBackableRequestHandler extends ScheduleEventRequestHandler {
public String getBackDestination(String... | 71 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 512 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 579 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 369 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 804 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 594 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 415 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 498 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 620 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 415 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 892 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 692 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 419 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 343 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.servlets;
import java.net.URLEncoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.silverpeas.peasUtil.GoTo;
import com.stratelia.silverpeas.peasCore.URLManager;
import com.stratelia.silverpeas.silvertrace.Silver... | 203 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 2,149 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class DisagreeAvailability implements AvailableVO {
private final static String HMTL_CLASS_ATTRIBUTE = "questionResults-Non";
private final static DisagreeAvailability instance = new DisagreeAvailability();
private DisagreeAvailability() {
}
@Overr... | 140 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class DisabledEditableAvailability implements
AvailableEditableVO {
private final static DisabledEditableAvailability instance = new DisabledEditableAvailability();
private DisabledEditableAvailability() {
}
@Override
public String getMarkLa... | 169 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AgreeAvailability implements AvailableVO {
private final static String HMTL_CLASS_ATTRIBUTE = "questionResults-Oui";
private final static AgreeAvailability instance = new AgreeAvailability();
private AgreeAvailability() {
}
@Override
pub... | 137 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface AvailableEditableVO extends AvailableVO {
boolean isEditable();
}
| 25 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface PartOfDay {
String getPrefixId();
String getMultilangLabel();
}
| 30 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface AnswerVO {
String getPositiveAnswerPercentage();
String getHtmlClassAttribute();
}
| 30 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Set;
import com.silverpeas.scheduleevent.service.model.beans.Response;
import com.silverpeas.scheduleevent.view.AvailabilityFactoryVO.Availability;
public interface ContributorVO {
String getName();
String getHtmlClassAttribute();
boolea... | 90 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;;
public class DisableAnswer implements AnswerVO {
private final static String DISABLE_LABEL = "-";
private final static String HMTL_CLASS_ATTRIBUTE = "participation inactif";
private final static DisableAnswer instance = new DisableAnswer();
private DisableAn... | 126 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import java.util.SortedSet;
import java.util.TreeSet;
import com.silverpeas.scheduleevent.service.model.ScheduleEventBean;
import com.silverpeas.scheduleevent.service.model.beans.Contributor;
im... | 1,354 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import com.silverpeas.scheduleevent.service.model.beans.Response;
import com.silverpeas.scheduleevent.view.AvailabilityFactoryVO.Availabilit... | 467 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Date;
import com.silverpeas.scheduleevent.service.model.beans.DateOption;
public class OptionDateVO implements Comparable<OptionDateVO> {
private static final int MORNING_HOUR_LIMIT = 12;
private static final String MORNING_INDEX_MARKER = "AM"... | 595 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public abstract class AbstractAvailabilityVisitor implements AvailabilityVisitor {
@Override
public void visit(DisabledAvailability availability) {
}
@Override
public void visit(AgreeAvailability availability) {
}
@Override
public void visit(Di... | 87 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import static com.silverpeas.scheduleevent.view.ScheduleEventRessources.formatInPercent;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.silverpeas.s... | 2,070 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.HashSet;
import java.util.Set;
import com.silverpeas.scheduleevent.service.model.beans.Contributor;
import com.silverpeas.scheduleevent.service.model.beans.Response;
import com.silverpeas.scheduleevent.view.AvailabilityFactoryVO.Availability;
publi... | 498 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Date;
import java.util.List;
import com.silverpeas.scheduleevent.service.model.beans.DateOption;
public interface DateVO {
boolean hasSameDateAs(DateOption date);
Date getDate();
List<TimeVO> getTimes();
Integer getTimesNumber()... | 81 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AwaitAnswerAvailability implements AvailableVO {
private final static String HMTL_CLASS_ATTRIBUTE = "questionResults-NC";
private final static AwaitAnswerAvailability instance = new AwaitAnswerAvailability();
private AwaitAnswerAvailability() {
}
... | 138 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class BestTimeVO {
private List<TimeVO> times = new ArrayList<TimeVO>();
private AvailabilityVisitorPresenceCounter bestPresence =
new AvailabilityVisitorPresenceCounte... | 357 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import com.silverpeas.scheduleevent.service.model.beans.DateOption;
public class HalfDayDateVO implements DateVO {
private static final int MORNING_HOUR_LIMIT... | 836 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface AvailableVO {
String getMarkLabel();
String getHtmlClassAttribute();
void accept(AvailabilityVisitor visitor);
}
| 38 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import com.silverpeas.scheduleevent.service.model.beans.DateOption;
import com.silverpeas.scheduleevent.service.model.beans.Response;
pub... | 556 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class PartOfDayMorning implements PartOfDay {
private static PartOfDayMorning instance = new PartOfDayMorning();
private PartOfDayMorning() {}
public static PartOfDayMorning getInstance() {
return instance;
}
@Override
public String get... | 100 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface AvailabilityVisitor {
void visit(DisabledAvailability availability);
void visit(AgreeAvailability availability);
void visit(DisagreeAvailability availability);
void visit(AwaitAnswerAvailability availability);
}
| 51 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class DisagreeEditableAvailability implements
AvailableEditableVO {
private final static DisagreeEditableAvailability instance = new DisagreeEditableAvailability();
private DisagreeEditableAvailability() {
}
@Override
public String getMarkLa... | 170 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class PartOfDayAfternoon implements PartOfDay {
private static PartOfDayAfternoon instance = new PartOfDayAfternoon();
private PartOfDayAfternoon() {}
public static PartOfDayAfternoon getInstance() {
return instance;
}
@Override
public St... | 105 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AvailabilityUserFactory implements AvailabilityFactoryVO {
private final static AvailabilityUserFactory instance = new AvailabilityUserFactory();
private AvailabilityUserFactory() {
}
@Override
public AvailableEditableVO makeAvailablity(A... | 148 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import static com.silverpeas.scheduleevent.view.ScheduleEventRessources.formatInPercent;
public class PresentAnswer implements AnswerVO {
private final static String HMTL_CLASS_ATTRIBUTE = "participation";
private int presents;
private int contributors;
... | 192 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public interface AvailabilityFactoryVO {
enum Availability {
DISABLE, AGREE, DISAGREE, AWAIT_ANSWER
}
AvailableVO makeAvailablity(Availability availability);
}
| 51 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class DisabledAvailability implements AvailableVO {
private final static String HMTL_CLASS_ATTRIBUTE = "displayUserName";
private final static DisabledAvailability instance = new DisabledAvailability();
private DisabledAvailability() {
}
@Overrid... | 135 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AgreeEditableAvailability implements
AvailableEditableVO {
private final static AgreeEditableAvailability instance = new AgreeEditableAvailability();
private AgreeEditableAvailability() {
}
@Override
public String getMarkLabel() {
... | 168 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.text.SimpleDateFormat;
import java.util.Date;
class OptionalDateFormatterForIndex {
private static final String INDEX_COMPATIBLE_FORMAT = "ddMMyy";
private static final SimpleDateFormat formatter = new SimpleDateFormat(INDEX_COMPATIBLE_FORMAT);
... | 75 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AvailabilityVisitorPresenceCounter extends AbstractAvailabilityVisitor implements
AvailabilityVisitor {
private static final int LOWER_THAN_CRRENT = -1;
private static final int EQUAL_TO_CURRENT = 0;
private static final int UPPER_THAN_CURRENT =... | 305 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
public class AvailabilityContributorFactory implements AvailabilityFactoryVO {
private final static AvailabilityContributorFactory instance = new AvailabilityContributorFactory();
private AvailabilityContributorFactory() {
}
@Override
public Available... | 148 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.text.NumberFormat;
public class ScheduleEventRessources {
private final static int PERCENT_FORMAT_DIGITS_PRECISION = 1;
public final static String formatInPercent(double rate) {
NumberFormat percent = NumberFormat.getPercentInstance();
p... | 87 |
github-java-corpus | 2,012 | package com.silverpeas.scheduleevent.view;
import java.util.Map;
import java.util.Set;
import com.silverpeas.scheduleevent.service.model.beans.Response;
public interface TimeVO {
boolean equals(TimeVO time);
DateVO getDate();
String getId();
String getMultilangLabel();
String getHtmlClassAttr... | 124 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 349 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2009 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 3,101 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 499 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,285 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 677 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 687 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 739 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 734 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* As a... | 1,523 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 1,279 |
github-java-corpus | 2,012 | /**
* Copyright (C) 2000 - 2011 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* ... | 841 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.