Guest User

Untitled

a guest
Apr 26th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.24 KB | None | 0 0
  1. isBeFriendedWithInterestListElem.java:5: error: modifier private not allowed here
  2. private class InterestListElem {
  3. ^
  4. InterestList.java:5: error: modifier private not allowed here
  5. private class InterestList {
  6. ^
  7. Timestamp.java:100: error: int cannot be dereferenced
  8. return this.min.equals(other.min) && this.hour.equals(other.hour) && this.day.equals(other.day)
  9. ^
  10. Timestamp.java:100: error: int cannot be dereferenced
  11. return this.min.equals(other.min) && this.hour.equals(other.hour) && this.day.equals(other.day)
  12. ^
  13. Timestamp.java:100: error: int cannot be dereferenced
  14. return this.min.equals(other.min) && this.hour.equals(other.hour) && this.day.equals(other.day)
  15. ^
  16. Timestamp.java:101: error: int cannot be dereferenced
  17. && this.month.equals(other.month) && this.year.equals(other.year);
  18. ^
  19. Timestamp.java:101: error: int cannot be dereferenced
  20. && this.month.equals(other.month) && this.year.equals(other.year);
  21. ^
  22. School.java:60: error: cannot find symbol
  23. return this.name.equals(other.name) && this.adress.equals(other.adress);
  24. ^
  25. symbol: variable adress
  26. location: variable other of type School
  27. School.java:60: error: cannot find symbol
  28. return this.name.equals(other.name) && this.adress.equals(other.adress);
  29. ^
  30. symbol: variable adress
  31. Profile.java:194: error: cannot find symbol
  32. if (p1.isBeFriendedWith(p2)) {
  33. ^
  34. symbol: method isBeFriendedWith(Person)
  35. location: variable p1 of type Person
  36. Profile.java:195: error: cannot find symbol
  37. p1.removeFriendship(p2);
  38. ^
  39. symbol: method removeFriendship(Person)
  40. location: variable p1 of type Person
  41. Profile.java:209: error: cannot find symbol
  42. if (contains(topic) == true || topic == null) {
  43. ^
  44. symbol: method contains(Topic)
  45. location: class Profile
  46. Profile.java:213: error: cannot find symbol
  47. this.topic = new Topic(topic);
  48. ^
  49. symbol: variable topic
  50. Profile.java:213: error: constructor Topic in class Topic cannot be applied to given types;
  51. this.topic = new Topic(topic);
  52. ^
  53. required: String
  54. found: Topic
  55. reason: actual argument Topic cannot be converted to String by method invocation conversion
  56. Profile.java:224: error: cannot find symbol
  57. if (topic == null || topic != contains(topic)) {
  58. ^
  59. symbol: method contains(Topic)
  60. location: class Profile
  61. Profile.java:228: error: cannot find symbol
  62. remove(topic);
  63. ^
  64. symbol: method remove(Topic)
  65. location: class Profile
  66. Profile.java:241: error: cannot find symbol
  67. else if (contains(topic) == topic) {
  68. ^
  69. symbol: method contains(Topic)
  70. location: class Profile
  71. KITBook.java:30: error: cannot find symbol
  72. currentTime = currentTime.tick();
  73. ^
  74. symbol: method tick()
  75. location: variable currentTime of type Timestamp
  76. KITBook.java:56: error: cannot find symbol
  77. for (int i = 0; i < profiles.legth; i++) {
  78. ^
  79. symbol: variable legth
  80. location: variable profiles of type Profile[]
  81. KITBook.java:57: error: cannot find symbol
  82. if (p == profiles[i].get.Owner()) {
  83. ^
  84. symbol: variable get
  85. location: class Profile
  86. KITBook.java:73: error: cannot find symbol
  87. if (p.containsPerson(p)) {
  88. ^
  89. symbol: method containsPerson(Person)
  90. location: variable p of type Person
  91. KITBook.java:76: error: cannot find symbol
  92. for (int i = 0; i < profile.length; i++) {
  93. ^
  94. symbol: variable profile
  95. location: class KITBook
  96. KITBook.java:95: error: cannot find symbol
  97. for (int i = 0; i < profile.length; i++) {
  98. ^
  99. symbol: variable profile
  100. location: class KITBook
  101. KITBook.java:96: error: cannot find symbol
  102. if (profile[i].getOwner() == p) {
  103. ^
  104. symbol: variable profile
  105. location: class KITBook
  106. KITBook.java:97: error: cannot find symbol
  107. profile[i] = null;
  108. ^
  109. symbol: variable profile
  110. location: class KITBook
  111. KITBook.java:113: error: cannot find symbol
  112. for (int i = 0; i < profile.length; i++) {
  113. ^
  114. symbol: variable profile
  115. location: class KITBook
  116. KITBook.java:114: error: cannot find symbol
  117. if (profile[i] != null && profile[i].getOwner().equals(p)) {
  118. ^
  119. symbol: variable profile
  120. location: class KITBook
  121. KITBook.java:114: error: cannot find symbol
  122. if (profile[i] != null && profile[i].getOwner().equals(p)) {
  123. ^
  124. symbol: variable profile
  125. location: class KITBook
  126. KITBook.java:141: error: cannot find symbol
  127. if (p1.isBeFreindedWith(p2)) {
  128. ^
  129. symbol: method isBeFreindedWith(Person)
  130. location: variable p1 of type Person
  131. KITBook.java:162: error: cannot find symbol
  132. p1.addFriendsip(p2);
  133. ^
  134. symbol: method addFriendsip(Person)
  135. location: variable p1 of type Person
  136. KITBook.java:179: error: cannot find symbol
  137. if (p1.isBeFreindedWith(p2)) {
  138. ^
  139. symbol: method isBeFreindedWith(Person)
  140. location: variable p1 of type Person
  141. KITBook.java:180: error: cannot find symbol
  142. p1.removeFreindship(p2);
  143. ^
  144. symbol: method removeFreindship(Person)
  145. location: variable p1 of type Person
  146. InterestList.java:53: error: cannot find symbol
  147. elem.setNext(newElem);
  148. ^
  149. symbol: method setNext(InterestListElem)
  150. location: variable elem of type InterestListElem
  151. InterestList.java:64: error: cannot find symbol
  152. InterestListElem elem = this.startELem;
  153. ^
  154. symbol: variable startELem
  155. InterestList.java:68: error: incomparable types: boolean and
  156. if (this.contains(topic) == null) {
  157. ^
  158. InterestList.java:73: error: cannot find symbol
  159. elem.setNext(elem.getNext.getNext());
  160. ^
  161. symbol: variable getNext
  162. location: variable elem of type InterestListElem
  163. InterestList.java:87: error: incomparable types: InterestListElem and int
  164. while (elem != 0) {
  165. ^
  166. 37 errors
Add Comment
Please, Sign In to add comment