revert 092ca4522b
				
					
				
			revert Fix for presantation issues that never happend occured
This commit is contained in:
		
							parent
							
								
									092ca4522b
								
							
						
					
					
						commit
						0661e3ccbc
					
				
					 2 changed files with 52 additions and 50 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								bin/App.class
									
										
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								bin/App.class
									
										
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -37,12 +37,10 @@ public class App {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        int breakPoints = minuteData.length;
 | 
					        int breakPoints = minuteData.length;
 | 
				
			||||||
        for (int i = 0; i < duration - 1; i++) {
 | 
					        for (int i = 0; i < duration - 1; i++) {
 | 
				
			||||||
            if (minuteData[i] != null) {
 | 
					 | 
				
			||||||
            if (minuteData[i].getCo2Level() < minuteData[i + 1].getCo2Level()) {
 | 
					            if (minuteData[i].getCo2Level() < minuteData[i + 1].getCo2Level()) {
 | 
				
			||||||
                breakPoints--;
 | 
					                breakPoints--;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (duration > 5) {
 | 
					        if (duration > 5) {
 | 
				
			||||||
            teacher.addPoints(0, breakPoints, 0);
 | 
					            teacher.addPoints(0, breakPoints, 0);
 | 
				
			||||||
| 
						 | 
					@ -202,7 +200,7 @@ public class App {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // #region main
 | 
					    // #region main
 | 
				
			||||||
    public static void main(String[] args) {
 | 
					    public static void main(String[] args) {
 | 
				
			||||||
 | 
					        try {
 | 
				
			||||||
            System.out.println("Calculations in process. Please do not shut off...");
 | 
					            System.out.println("Calculations in process. Please do not shut off...");
 | 
				
			||||||
            initializeTeachers();
 | 
					            initializeTeachers();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -257,6 +255,10 @@ public class App {
 | 
				
			||||||
            printTeachers(false);
 | 
					            printTeachers(false);
 | 
				
			||||||
            interactWithUser();
 | 
					            interactWithUser();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        } catch (Exception e) {
 | 
				
			||||||
 | 
					            System.out.println("Fatal error: " + e.getMessage());
 | 
				
			||||||
 | 
					        } finally {
 | 
				
			||||||
            scanner.close();
 | 
					            scanner.close();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue