{"action":"created","comment":{"url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/comments/238753740","pull_request_review_id":181373459,"id":238753740,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODc1Mzc0MA==","diff_hunk":"@@ -1,225 +1,238 @@\n-import java.util.Scanner;\r\n-import java.util.regex.Pattern;\r\n-\r\n-public class Interface {\r\n-\r\n-\tstatic Scanner input = new Scanner(System.in);\r\n-\r\n-\tstatic Spaces spaces = new Spaces();\r\n-\r\n-\t//static ParkingSpaceDAO1 parkingSpaceDAO = new ParkingSpaceDAO1();\r\n-\t\r\n-\tstatic ParkingSpaceDatabaseDAO parkingSpaceDatabaseDAO = new ParkingSpaceDatabaseDAO();\r\n-\t\r\n-\tstatic ParkingSpaceFileDAO parkingSpaceFileDAO = new ParkingSpaceFileDAO();\r\n-\r\n-\tpublic static String getUserInput() {\r\n-\t\treturn input.nextLine();\r\n-\t}\r\n-\r\n-\tpublic static void main(String[] args) {\r\n-\r\n-\t\t// Wczytanie statusu parkingu z pliku\r\n-\r\n-\t\t// parkingSpaceDAO.loadFromFile();\r\n-\r\n-\t\t// Wczytanie z bazy\r\n-\r\n-\t\t// parkingSpaceDAO.loadDatabase();\r\n-\r\n-\t\tparkingSpaceDatabaseDAO.getEntityManagerFactory();\r\n-\r\n-\t\tString userInput;\r\n-\r\n-\t\tdo {\r\n-\r\n-\t\t\tSystem.out.println(\"Wybierz nr polecenia, nast�pnie zatwierdz klawiszem ENTER\");\r\n-\t\t\tSystem.out.println(\"[1] - dodaj pojazd do parkingu\");\r\n-\t\t\tSystem.out.println(\"[2] - usu� wybrany pojazd z parkingu\");\r\n-\t\t\tSystem.out.println(\"[3] - poka� szczeg�y wybranego pojazdu\");\r\n-\t\t\tSystem.out.println(\"[4] - poka� dost�pn� ilo�� miejsc parkingowych\");\r\n-\t\t\tSystem.out.println(\"[5] - odczyt z pliku\");\r\n-\t\t\tSystem.out.println(\"[6] - Zapis do pliku\");\r\n-\t\t\tSystem.out.println(\"[7] - odczyt z bazy\");\r\n-\t\t\tSystem.out.println(\"[8] - zapis do bazy\");\r\n-\t\t\tSystem.out.println(\"[x] - zako�cz program\");\r\n-\r\n-\t\t\tuserInput = getUserInput();\r\n-\r\n-\t\t\tif (userInput.equals(\"1\")) {\r\n-\t\t\t\tint occupiedSpaces = spaces.getOccupiedSpaces();\r\n-\t\t\t\tif (occupiedSpaces >= spaces.getParkingCapacity()) {\r\n-\t\t\t\t\tSystem.out.println(\"===========================\");\r\n-\t\t\t\t\tSystem.out.println(\"=== Brak wolnych miejsc ===\");\r\n-\t\t\t\t\tSystem.out.println(\"===========================\");\r\n-\r\n-\t\t\t\t} else {\r\n-\t\t\t\t\taddVehicle();\r\n-\t\t\t\t}\r\n-\t\t\t} else if (userInput.equals(\"2\")) {\r\n-\t\t\t\tremoveVehicle();\r\n-\t\t\t} else if (userInput.equals(\"3\")) {\r\n-\t\t\t\tcarDetails();\r\n-\t\t\t} else if (userInput.equals(\"4\")) {\r\n-\t\t\t\tparkingStatus();\r\n-\t\t\t} else if (userInput.equals(\"5\")) {\r\n-\t\t\t\tspaces.addAllParkingSpace(parkingSpaceFileDAO.loadAll());\r\n-\t\t\t} else if (userInput.equals(\"6\")) {\r\n-\t\t\t\tparkingSpaceFileDAO.saveAll(spaces.getAllSpaces());\r\n-\t\t\t} else if (userInput.equals(\"7\")) {\r\n-\t\t\t\tspaces.addAllParkingSpace(parkingSpaceDatabaseDAO.loadAll());\r\n-\t\t\t} else if (userInput.equals(\"8\")) {\r\n-\t\t\t\tparkingSpaceDatabaseDAO.saveAll(spaces.getAllSpaces());\r\n-\t\t\t} else if (userInput.equals(\"x\")) {\r\n-\t\t\t\texitProgram();\r\n-\r\n-\t\t\t}\r\n-\t\t} while (!\"x\".equalsIgnoreCase(userInput));\r\n-\r\n-\t\t// } while (!userInput.equalsIgnoreCase(\"x\"));\r\n-\r\n-\t\t// (!userInput.equals(\"x\")); - zapyta� si� czym si� r�ni od\r\n-\t\t// powy�szego --> equalsIgnoreCase ignoruje wielko�� liter\r\n-\r\n-\t}\r\n-\r\n-\tpublic static void addVehicle() {\r\n-\r\n-\t\tParkingSpace parkingSpaceInput = new ParkingSpace();\r\n-\r\n-\t\tdo {\r\n-\t\t\tSystem.out.println(\"Podaj imi�\");\r\n-\t\t\tparkingSpaceInput.setOwnerName(getUserInput());\r\n-\t\t} while (parkingSpaceInput.getOwnerName().length() == 0);\r\n-\r\n-\t\tdo {\r\n-\t\t\tSystem.out.println(\"Podaj nazwisko\");\r\n-\t\t\tparkingSpaceInput.setOwnerSurname(getUserInput());\r\n-\t\t} while (parkingSpaceInput.getOwnerSurname().length() == 0);\r\n-\r\n-\t\tdo {\r\n-\t\t\tSystem.out.println(\"Podaj mark� samochodu\");\r\n-\t\t\tparkingSpaceInput.setCarBrand(getUserInput());\r\n-\t\t} while (parkingSpaceInput.getCarBrand().length() == 0);\r\n-\r\n-\t\tdo {\r\n-\t\t\tSystem.out.println(\"Podaj model samochodu\");\r\n-\t\t\tparkingSpaceInput.setCarModel(getUserInput());\r\n-\t\t} while (parkingSpaceInput.getCarModel().length() == 0);\r\n-\r\n-\t\tdo {\r\n-\t\t\tSystem.out.println(\"Podaj nr rejestarcyjny pojazdu\");\r\n-\t\t\tparkingSpaceInput.setRegistrationNumber(getUserInput());\r\n-\t\t} while (parkingSpaceInput.getRegistrationNumber().length() == 0);\r\n-\r\n-\t\tspaces.addParkingSpace(parkingSpaceInput);\r\n-\r\n-\t\tSystem.out.println(\"Dodano pojazd do parkingu.\");\r\n-\r\n-\t}\r\n-\r\n-\tpublic static void removeVehicle() {\r\n-\r\n-\t\tif (spaces.getOccupiedSpaces() == 0) {\r\n-\t\t\tSystem.out.println(\"Brak pojazd�w na parkingu\" + \"\\n\");\r\n-\t\t} else {\r\n-\t\t\tParkingSpace parkingSpace;\r\n-\r\n-\t\t\tfor (int i = 0; i < spaces.getAllSpaces().size(); i++) {\r\n-\t\t\t\tparkingSpace = spaces.getAllSpaces().get(i);\r\n-\t\t\t\tSystem.out.println(i + 1 + \": \" + parkingSpace.getRegistrationNumber());\r\n-\t\t\t}\r\n-\r\n-\t\t\tSystem.out.println();\r\n-\t\t\tPattern numberPattern = Pattern.compile(\"[0-9]+\");\r\n-\t\t\tString spaceNumber;\r\n-\r\n-\t\t\tSystem.out.println(\"Podaj nr pojazdu do usuni�cia\");\r\n-\t\t\tspaceNumber = Interface.getUserInput();\r\n-\t\t\tif (numberPattern.matcher(spaceNumber).matches()) {\r\n-\r\n-\t\t\t\tint carNumber = Integer.parseInt(spaceNumber) - 1;\r\n-\t\t\t\t// jest -1 aby numeracja zaczynala sie od 1\r\n-\r\n-\t\t\t\tif (spaces.getAllSpaces().size() > carNumber && carNumber >= 0) {\r\n-\t\t\t\t\t// TODO gdy uzytkownik poda carNumber=0 to wywala blad ArrayIndexOutOfBounds,\r\n-\t\t\t\t\t// tzn. ze nie da sie usunac z listy pozycji \"-1\". Wy�ej doda�em warunek\r\n-\t\t\t\t\t// && carNumber >= 0 i dzia�a. Czy nie lepiej zaimplemenotwa� try catch\r\n-\t\t\t\t\t// tego wyj�tku?\r\n-\t\t\t\t\tspaces.getAllSpaces().remove(carNumber);\r\n-\r\n-\t\t\t\t\tSystem.out.println(\"Usuni�to pojazd z parkingu\");\r\n-\t\t\t\t} else {\r\n-\t\t\t\t\tSystem.out.println(\"Brak podanego pojazdu na parkingu\");\r\n-\t\t\t\t}\r\n-\r\n-\t\t\t} else {\r\n-\t\t\t\tSystem.out.println(\"Niepoprawny numer pojazdu.\" + \"\\n\");\r\n-\t\t\t}\r\n-\t\t}\r\n-\r\n-\t}\r\n-\r\n-\tpublic static void carDetails() {\r\n-\t\tif (spaces.getOccupiedSpaces() == 0) {\r\n-\t\t\tSystem.out.println(\"Brak pojazd�w na parkingu\" + \"\\n\");\r\n-\t\t} else {\r\n-\t\t\tParkingSpace parkingSpace;\r\n-\r\n-\t\t\tfor (int i = 0; i < spaces.getAllSpaces().size(); i++) {\r\n-\t\t\t\tparkingSpace = spaces.getAllSpaces().get(i);\r\n-\r\n-\t\t\t\tSystem.out.println(i + 1 + \": \" + parkingSpace.getRegistrationNumber());\r\n-\t\t\t\t// i + 1 aby numeracja zaczyna�a si� od 1 a nie od 0\r\n-\t\t\t}\r\n-\r\n-\t\t\tSystem.out.println();\r\n-\t\t\tPattern numberPattern = Pattern.compile(\"[0-9]+\");\r\n-\t\t\tString spaceNumber;\r\n-\r\n-\t\t\tSystem.out.println(\"Podaj nr pojazdu\");\r\n-\t\t\tspaceNumber = getUserInput();\r\n-\r\n-\t\t\tif (numberPattern.matcher(spaceNumber).matches()) {\r\n-\r\n-\t\t\t\tint carNumber = Integer.parseInt(spaceNumber) - 1;\r\n-\t\t\t\t// jest -1 aby numeracja zaczynala sie od 1\r\n-\r\n-\t\t\t\tif (spaces.getAllSpaces().size() > carNumber && carNumber >= 0) {\r\n-\t\t\t\t\tParkingSpace carChosen = spaces.getAllSpaces().get(carNumber);\r\n-\t\t\t\t\tSystem.out.println(carChosen.getOwnerName() + \" \" + carChosen.getOwnerSurname());\r\n-\t\t\t\t\tSystem.out.println(carChosen.getCarBrand() + \" \" + carChosen.getCarModel());\r\n-\t\t\t\t\tSystem.out.println(carChosen.getRegistrationNumber());\r\n-\t\t\t\t} else {\r\n-\t\t\t\t\tSystem.out.println(\"Brak podanego pojazdu na parkingu\");\r\n-\t\t\t\t}\r\n-\t\t\t} else {\r\n-\t\t\t\tSystem.out.println(\"Niepoprawny numer pojazdu.\" + \"\\n\");\r\n-\t\t\t}\r\n-\t\t}\r\n-\t}\r\n-\r\n-\tpublic static void parkingStatus() {\r\n-\r\n-\t\tSystem.out.println(\"Miesjca zaj�te: \" + spaces.getOccupiedSpaces() + \"\\n\");\r\n-\t\tSystem.out.println(\"Miejsca wolne: \" + spaces.getFreeSpaces() + \"\\n\");\r\n-\r\n-\t}\r\n-\r\n-\tpublic static void exitProgram() {\r\n-\r\n-\t\t// Zapis do pliku\r\n-\r\n-\t\t// ParkingSpaceDAO.saveToFile();\r\n-\r\n-\t\t// Zapis do bazy\r\n-\r\n-\t\t// ParkingSpaceDAO.saveDatabase();\r\n-\r\n-\t\tparkingSpaceDatabaseDAO.emfClose();\r\n-\r\n-\t\tSystem.out.println(\"Koniec programu\");\r\n-\r\n-\t}\r\n-\r\n-}\r\n+import java.util.Scanner;\n+import java.util.regex.Pattern;\n+\n+import javax.persistence.EntityManagerFactory;\n+import javax.persistence.Persistence;\n+\n+public class CarParkingJpaApplication {\n+\n+\tstatic Scanner input = new Scanner(System.in);\n+\n+\tstatic Spaces spaces = new Spaces();\n+\n+\t// static ParkingSpaceDAO1 parkingSpaceDAO = new ParkingSpaceDAO1();\n+\n+\tstatic ParkingSpaceDatabaseDAO parkingSpaceDatabaseDAO = new ParkingSpaceDatabaseDAO();\n+\n+\tstatic ParkingSpaceFileDAO parkingSpaceFileDAO = new ParkingSpaceFileDAO();\n+\t\n+\tpublic static EntityManagerFactory entityManagerFactory;\n+\n+\tpublic static void getEntityManagerFactory() {","path":"src/main/java/CarParkingJpaApplication.java","position":244,"original_position":246,"commit_id":"7fdfed1bdfd314ce2cc76d0891aec99f72ca3ab3","original_commit_id":"7fdfed1bdfd314ce2cc76d0891aec99f72ca3ab3","user":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-12-04T17:06:21Z","updated_at":"2018-12-04T17:06:21Z","html_url":"https://github.com/sajmon6996/CarParkingJPA/pull/1#discussion_r238753740","pull_request_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/comments/238753740"},"html":{"href":"https://github.com/sajmon6996/CarParkingJPA/pull/1#discussion_r238753740"},"pull_request":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1"}},"in_reply_to_id":238632646},"pull_request":{"url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1","id":235580428,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NTgwNDI4","html_url":"https://github.com/sajmon6996/CarParkingJPA/pull/1","diff_url":"https://github.com/sajmon6996/CarParkingJPA/pull/1.diff","patch_url":"https://github.com/sajmon6996/CarParkingJPA/pull/1.patch","issue_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/1","number":1,"state":"open","locked":true,"title":"Second","user":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-03T20:23:11Z","updated_at":"2018-12-04T17:06:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fdd78ca72c40d6ffc9e763c2eabb6beda6cb77a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/1/comments","statuses_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/statuses/7fdfed1bdfd314ce2cc76d0891aec99f72ca3ab3","head":{"label":"sajmon6996:second","ref":"second","sha":"7fdfed1bdfd314ce2cc76d0891aec99f72ca3ab3","user":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"repo":{"id":158451635,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0NTE2MzU=","name":"CarParkingJPA","full_name":"sajmon6996/CarParkingJPA","private":false,"owner":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sajmon6996/CarParkingJPA","description":null,"fork":false,"url":"https://api.github.com/repos/sajmon6996/CarParkingJPA","forks_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/forks","keys_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/teams","hooks_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/hooks","issue_events_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/events{/number}","events_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/events","assignees_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/assignees{/user}","branches_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/branches{/branch}","tags_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/tags","blobs_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/refs{/sha}","trees_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/statuses/{sha}","languages_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/languages","stargazers_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/stargazers","contributors_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/contributors","subscribers_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/subscribers","subscription_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/subscription","commits_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/commits{/sha}","git_commits_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/commits{/sha}","comments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/comments{/number}","issue_comment_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/comments{/number}","contents_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/contents/{+path}","compare_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/merges","archive_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/downloads","issues_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues{/number}","pulls_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls{/number}","milestones_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/milestones{/number}","notifications_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/labels{/name}","releases_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/releases{/id}","deployments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/deployments","created_at":"2018-11-20T21:10:03Z","updated_at":"2018-11-30T20:05:31Z","pushed_at":"2018-12-03T20:23:12Z","git_url":"git://github.com/sajmon6996/CarParkingJPA.git","ssh_url":"git@github.com:sajmon6996/CarParkingJPA.git","clone_url":"https://github.com/sajmon6996/CarParkingJPA.git","svn_url":"https://github.com/sajmon6996/CarParkingJPA","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sajmon6996:master","ref":"master","sha":"beb04653ac9f4cfdd4daf54b3336bcb525dd2eb3","user":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"repo":{"id":158451635,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg0NTE2MzU=","name":"CarParkingJPA","full_name":"sajmon6996/CarParkingJPA","private":false,"owner":{"login":"sajmon6996","id":35112888,"node_id":"MDQ6VXNlcjM1MTEyODg4","avatar_url":"https://avatars1.githubusercontent.com/u/35112888?v=4","gravatar_id":"","url":"https://api.github.com/users/sajmon6996","html_url":"https://github.com/sajmon6996","followers_url":"https://api.github.com/users/sajmon6996/followers","following_url":"https://api.github.com/users/sajmon6996/following{/other_user}","gists_url":"https://api.github.com/users/sajmon6996/gists{/gist_id}","starred_url":"https://api.github.com/users/sajmon6996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajmon6996/subscriptions","organizations_url":"https://api.github.com/users/sajmon6996/orgs","repos_url":"https://api.github.com/users/sajmon6996/repos","events_url":"https://api.github.com/users/sajmon6996/events{/privacy}","received_events_url":"https://api.github.com/users/sajmon6996/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sajmon6996/CarParkingJPA","description":null,"fork":false,"url":"https://api.github.com/repos/sajmon6996/CarParkingJPA","forks_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/forks","keys_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/teams","hooks_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/hooks","issue_events_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/events{/number}","events_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/events","assignees_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/assignees{/user}","branches_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/branches{/branch}","tags_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/tags","blobs_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/refs{/sha}","trees_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/statuses/{sha}","languages_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/languages","stargazers_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/stargazers","contributors_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/contributors","subscribers_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/subscribers","subscription_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/subscription","commits_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/commits{/sha}","git_commits_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/git/commits{/sha}","comments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/comments{/number}","issue_comment_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/comments{/number}","contents_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/contents/{+path}","compare_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/merges","archive_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/downloads","issues_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues{/number}","pulls_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls{/number}","milestones_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/milestones{/number}","notifications_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/labels{/name}","releases_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/releases{/id}","deployments_url":"https://api.github.com/repos/sajmon6996/CarParkingJPA/deployments","created_at":"2018-11-20T21:10:03Z","updated_at":"2018-11-30T20:05:31Z","pushed_at":"2018-12-03T20:23:12Z","git_url":"git://github.com/sajmon6996/CarParkingJPA.git","ssh_url":"git@github.com:sajmon6996/CarParkingJPA.git","clone_url":"https://github.com/sajmon6996/CarParkingJPA.git","svn_url":"https://github.com/sajmon6996/CarParkingJPA","homepage":null,"size":50,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1"},"html":{"href":"https://github.com/sajmon6996/CarParkingJPA/pull/1"},"issue":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/1"},"comments":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sajmon6996/CarParkingJPA/statuses/7fdfed1bdfd314ce2cc76d0891aec99f72ca3ab3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"sajmon6996"}}