Skip to content

Instantly share code, notes, and snippets.

```
already analysed
already analysed
already analysed
already analysed
already analysed
already analysed
already analysed
already analysed
TODO !
public boolean dataInValide() {
File f;
BufferedReader b;
try {
f = new File(this.fileAddress);
b = new BufferedReader(new FileReader(f));
String readLine = "";
int i = 0;
int ligne = 0;
int liaisons = 0;
public void createOrder() {
if (shop != null && !products.isEmpty() && collectDate != null && shop.isOpen(EnumDay.valueOf(collectDate.getDayOfWeek()), collectDate.getHourOfDay() + ":" + collectDate.getMinuteOfHour()) && franchise.getNationalFranchise(shop.getCountry()).getShops().contains(shop) && collectDate.isAfterNow()) {
// Liste temporaire avec le nombre total de cookie
List<Cookie> tmp = new ArrayList<>();
for (Product product : products) {
if (product.typeOfProduct().equals(ProductType.BOX)) {
for (Cookie cookie : ((BoxCookies) product).getCookies()) {
tmp.add(new Cookie(cookie));
}
@ttben
ttben / Et l'alert continue ...
Created December 21, 2017 20:06
... omagad.
# Started at :2017-12-21 21:00:54
####
## Handling Equipe A [teama.git]
####
# Cloning project from remote repository: OK
# Opening project teama.git
# LOC counter [main]: 1231
# Building using Maven [clean package]: FAILURE
@ttben
ttben / ALERTE ROUGE
Created December 21, 2017 10:03
no bueno.
# Started at :2017-12-21 11:00:00
####
## Handling Equipe A [teama.git]
####
# Cloning project from remote repository: OK
# Opening project teama.git
# LOC counter [main]: 1186
# Building using Maven [clean package]: OK
@ttben
ttben / Jour 2 - Parlons de compilation.
Created December 19, 2017 18:03
Ca ne compile pas assez.
# Started at :2017-12-19 19:01:02
####
## Handling Equipe A [ps5f]
####
# Cloning project from remote repository: OK
# Opening project ps5f
# LOC counter [main]: 803
# Building using Maven [clean package]: OK
@ttben
ttben / context-1.txt
Created December 19, 2016 16:11
Example of basic input file
4 4 1 10 10000
1
10
1
0 0
5
1
2 2
1
0 1