This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igor.javapp; | |
| public class FizzBuzz { | |
| public static void main(String[] args) { | |
| for (int i =1; i <= 100; i++) { | |
| if (i % 15 == 0) { | |
| System.out.println("FizzBuzz"); | |
| } else if (i % 3 == 0) { | |
| System.out.println("Fizz"); | |
| } else if (i % 5 == 0) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.restaurant; | |
| import com.igorsinchuk.restaurant.dao.DishDao; | |
| import com.igorsinchuk.restaurant.dao.hibernate.HibernateDishDao; | |
| import com.igorsinchuk.restaurant.model.Dish; | |
| import javax.persistence.EntityManager; | |
| import javax.persistence.EntityManagerFactory; | |
| import javax.persistence.Persistence; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.chatclient; | |
| import com.google.gson.Gson; | |
| import com.google.gson.GsonBuilder; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.nio.charset.StandardCharsets; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.server.message; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| public class JsonMessages { | |
| private final List<Message> list; | |
| public JsonMessages(List<Message> sourceList, int fromIndex) { | |
| this.list = new ArrayList<>(); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.ordersdb; | |
| import com.igorsinchuk.ordersdb.controller.ConnectionManager; | |
| import com.igorsinchuk.ordersdb.dao.ClientsDao; | |
| import com.igorsinchuk.ordersdb.dao.OrdersDao; | |
| import com.igorsinchuk.ordersdb.dao.ProductsDao; | |
| import com.igorsinchuk.ordersdb.impl.ClientsDaoImpl; | |
| import com.igorsinchuk.ordersdb.impl.OrdersDaoImpl; | |
| import com.igorsinchuk.ordersdb.impl.ProductsDaoImpl; | |
| import com.igorsinchuk.ordersdb.model.Client; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.flatsql; | |
| import com.igorsinchuk.flatsql.model.dao.FlatDao; | |
| import com.igorsinchuk.flatsql.model.impl.FlatDaoImpl; | |
| import com.igorsinchuk.flatsql.model.ConnectionUtil; | |
| import com.igorsinchuk.flatsql.model.Flat; | |
| import java.sql.SQLException; | |
| import java.util.Scanner; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.igorsinchuk.webform; | |
| import javax.servlet.ServletException; | |
| import javax.servlet.annotation.WebServlet; | |
| import javax.servlet.http.HttpServlet; | |
| import javax.servlet.http.HttpServletRequest; | |
| import javax.servlet.http.HttpServletResponse; | |
| import javax.servlet.http.HttpSession; | |
| import java.io.IOException; | |
| import java.io.PrintWriter; |