Product Version: NetBeans IDE 8.2 (Build 201609300101)
Обновления: Среда NetBeans IDE обновлена до версии NetBeans 8.2 Patch 2
Java: 1.8.0_271; Java HotSpot(TM) 64-Bit Server VM 25.271-b09
Runtime: Java(TM) SE Runtime Environment 1.8.0_271-b09
System: Windows 10 version 10.0 running on amd64; Cp1251; ru_RU (nb)
User directory: C:\Users\User\AppData\Roaming\NetBeans\8.2
Cache directory: C:\Users\User\AppData\Local\NetBeans\Cache\8.2
Ant и плагины установил, но собрать проект не могу, вот ошибка
ant -f C:\\Users\\User\\Downloads\\source-archive\\apertum-qsystem -Dnb.internal.action.name=run run
:: loading settings :: file = C:\Users\User\Downloads\source-archive\apertum-qsystem\ivysettings.xml
:: resolving dependencies :: Apertum#QSystem;1.0
confs: [compile, runtime, compile-test, runtime-test]
found com.h2database#h2;1.4.185 in public
found org.springframework#spring-core;4.0.0.RELEASE in public
found org.springframework#spring-beans;4.0.0.RELEASE in public
found org.springframework#spring-context;4.0.0.RELEASE in public
found org.springframework#spring-jdbc;4.0.0.RELEASE in public
found org.springframework#spring-tx;4.0.0.RELEASE in public
found org.springframework#spring-orm;4.0.0.RELEASE in public
found org.hibernate#hibernate-c3p0;4.3.6.Final in public
found org.hibernate#hibernate-core;4.3.6.Final in public
found org.hibernate.common#hibernate-commons-annotations;4.0.5.Final in public
found c3p0#c3p0;0.9.1.2 in public
found org.hibernate.javax.persistence#hibernate-jpa-2.1-api;1.0.0.Final in public
found org.slf4j#slf4j-api;1.6.1 in public
found dom4j#dom4j;1.6.1 in public
found log4j#log4j;1.2.15 in public
found net.java.dev.beansbinding#beansbinding;1.2.1 in public
found net.sourceforge.barbecue#barbecue;1.5-beta1 in public
found com.google.zxing#core;2.2 in public
found commons-collections#commons-collections;3.2.1 in public
found commons-logging#commons-logging;1.1.1 in public
found commons-pool#commons-pool;1.6 in public
found commons-lang#commons-lang;2.6 in public
found commons-dbcp#commons-dbcp;1.4 in public
found commons-configuration#commons-configuration;1.9 in public
found commons-codec#commons-codec;1.9 in public
found javax.help#javahelp;2.0.05 in public
found org.apache.httpcomponents#httpcore;4.1 in public
found org.apache.httpcomponents#httpcore-nio;4.1 in public
found net.sf.jasperreports#jasperreports;5.2.0 in public
found com.google.code.gson#gson;2.3 in public
found org.eclipse.jetty#jetty-server;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-util;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-continuation;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-http;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-io;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-servlet;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-servlets;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-security;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-webapp;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-jsp;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-runner;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-xml;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-annotations;9.0.4.v20130625 in public
found org.glassfish#javax.servlet;3.0 in public
found javax.mail#mail;1.4.5 in public
found mysql#mysql-connector-java;5.1.33 in public
found org.springframework#spring-expression;4.0.0.RELEASE in public
found org.jboss.logging#jboss-logging;3.1.4.GA in public
found javax.transaction#jta;1.1 in public
found javassist#javassist;3.9.0.GA in public
found antlr#antlr;2.7.7 in public
found org.slf4j#jcl-over-slf4j;1.6.1 in public
found com.lowagie#itext;4.2.1 in public
found commons-beanutils#commons-beanutils;1.9.2 in public
found commons-digester#commons-digester;2.1 in public
found jfree#jcommon;1.0.16 in public
found jfree#jfreechart;1.0.13 in public
found com.googlecode.sli4j#sli4j-slf4j-log4j;2.0 in public
found net.sf.jasperreports#jasperreports-fonts;4.0.0 in public
:: resolution report :: resolve 2031ms :: artifacts dl 78ms
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
| compile | 45 | 0 | 0 | 0 || 125 | 0 |
| runtime | 59 | 0 | 0 | 0 || 155 | 0 |
| compile-test | 0 | 0 | 0 | 0 || 0 | 0 |
| runtime-test | 0 | 0 | 0 | 0 || 0 | 0 |
:: retrieving :: Apertum#QSystem
confs: [compile, runtime, compile-test, runtime-test]
0 artifacts copied, 58 already retrieved (0kB/31ms)
init:
Deleting: C:\Users\User\Downloads\source-archive\apertum-qsystem\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\User\Downloads\source-archive\apertum-qsystem\build\built-jar.properties
Compiling 224 source files to C:\Users\User\Downloads\source-archive\apertum-qsystem\build\classes
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\calendar\TableTell.java:35: error: class TableСell is public, should be declared in a file named TableСell.java
public class TableСell extends JLabel implements TableCellRenderer {
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Запускаю сборку в Netbeans c флагом -Xlint:unchecked
Тогда останавливается после 100 предупреждений, 1 ошибок.
ant -f C:\\Users\\User\\Downloads\\source-archive\\apertum-qsystem -Dnb.internal.action.name=run run
:: loading settings :: file = C:\Users\User\Downloads\source-archive\apertum-qsystem\ivysettings.xml
:: resolving dependencies :: Apertum#QSystem;1.0
confs: [compile, runtime, compile-test, runtime-test]
found com.h2database#h2;1.4.185 in public
found org.springframework#spring-core;4.0.0.RELEASE in public
found org.springframework#spring-beans;4.0.0.RELEASE in public
found org.springframework#spring-context;4.0.0.RELEASE in public
found org.springframework#spring-jdbc;4.0.0.RELEASE in public
found org.springframework#spring-tx;4.0.0.RELEASE in public
found org.springframework#spring-orm;4.0.0.RELEASE in public
found org.hibernate#hibernate-c3p0;4.3.6.Final in public
found org.hibernate#hibernate-core;4.3.6.Final in public
found org.hibernate.common#hibernate-commons-annotations;4.0.5.Final in public
found c3p0#c3p0;0.9.1.2 in public
found org.hibernate.javax.persistence#hibernate-jpa-2.1-api;1.0.0.Final in public
found org.slf4j#slf4j-api;1.6.1 in public
found dom4j#dom4j;1.6.1 in public
found log4j#log4j;1.2.15 in public
found net.java.dev.beansbinding#beansbinding;1.2.1 in public
found net.sourceforge.barbecue#barbecue;1.5-beta1 in public
found com.google.zxing#core;2.2 in public
found commons-collections#commons-collections;3.2.1 in public
found commons-logging#commons-logging;1.1.1 in public
found commons-pool#commons-pool;1.6 in public
found commons-lang#commons-lang;2.6 in public
found commons-dbcp#commons-dbcp;1.4 in public
found commons-configuration#commons-configuration;1.9 in public
found commons-codec#commons-codec;1.9 in public
found javax.help#javahelp;2.0.05 in public
found org.apache.httpcomponents#httpcore;4.1 in public
found org.apache.httpcomponents#httpcore-nio;4.1 in public
found net.sf.jasperreports#jasperreports;5.2.0 in public
found com.google.code.gson#gson;2.3 in public
found org.eclipse.jetty#jetty-server;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-util;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-continuation;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-http;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-io;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-servlet;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-servlets;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-security;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-webapp;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-jsp;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-runner;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-xml;9.0.4.v20130625 in public
found org.eclipse.jetty#jetty-annotations;9.0.4.v20130625 in public
found org.glassfish#javax.servlet;3.0 in public
found javax.mail#mail;1.4.5 in public
found mysql#mysql-connector-java;5.1.33 in public
found org.springframework#spring-expression;4.0.0.RELEASE in public
found org.jboss.logging#jboss-logging;3.1.4.GA in public
found javax.transaction#jta;1.1 in public
found javassist#javassist;3.9.0.GA in public
found antlr#antlr;2.7.7 in public
found org.slf4j#jcl-over-slf4j;1.6.1 in public
found com.lowagie#itext;4.2.1 in public
found commons-beanutils#commons-beanutils;1.9.2 in public
found commons-digester#commons-digester;2.1 in public
found jfree#jcommon;1.0.16 in public
found jfree#jfreechart;1.0.13 in public
found com.googlecode.sli4j#sli4j-slf4j-log4j;2.0 in public
found net.sf.jasperreports#jasperreports-fonts;4.0.0 in public
:: resolution report :: resolve 1130ms :: artifacts dl 109ms
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
| compile | 45 | 0 | 0 | 0 || 125 | 0 |
| runtime | 59 | 0 | 0 | 0 || 155 | 0 |
| compile-test | 0 | 0 | 0 | 0 || 0 | 0 |
| runtime-test | 0 | 0 | 0 | 0 || 0 | 0 |
:: retrieving :: Apertum#QSystem
confs: [compile, runtime, compile-test, runtime-test]
0 artifacts copied, 58 already retrieved (0kB/31ms)
init:
Deleting: C:\Users\User\Downloads\source-archive\apertum-qsystem\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\User\Downloads\source-archive\apertum-qsystem\build\built-jar.properties
Compiling 224 source files to C:\Users\User\Downloads\source-archive\apertum-qsystem\build\classes
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\calendar\TableTell.java:35: error: class TableСell is public, should be declared in a file named TableСell.java
public class TableСell extends JLabel implements TableCellRenderer {
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\AGenerator.java:215: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type Map
paramsForFilling.put(JRParameter.REPORT_LOCALE, Locales.getInstance().getLangCurrent());
where K,V are type-variables:
K extends Object declared in interface Map
V extends Object declared in interface Map
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\AGenerator.java:218: warning: [unchecked] unchecked method invocation: method fillReport in class JasperFillManager is applied to given types
jasperPrint = JasperFillManager.fillReport(inStr, paramsForFilling, getDataSource(request));//это используя уже откампиленный
required: InputStream,Map<String,Object>,JRDataSource
found: InputStream,Map,JRDataSource
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\AGenerator.java:218: warning: [unchecked] unchecked conversion
jasperPrint = JasperFillManager.fillReport(inStr, paramsForFilling, getDataSource(request));//это используя уже откампиленный
required: Map<String,Object>
found: Map
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\AGenerator.java:220: warning: [unchecked] unchecked method invocation: method fillReport in class JasperFillManager is applied to given types
jasperPrint = JasperFillManager.fillReport(inStr, paramsForFilling, conn);//это используя уже откампиленный
required: InputStream,Map<String,Object>,Connection
found: InputStream,Map,Connection
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\AGenerator.java:220: warning: [unchecked] unchecked conversion
jasperPrint = JasperFillManager.fillReport(inStr, paramsForFilling, conn);//это используя уже откампиленный
required: Map<String,Object>
found: Map
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\QReportsList.java:66: warning: [unchecked] unchecked method invocation: constructor <init> in class LinkedList is applied to given types
final LinkedList<QReport> reports = new LinkedList<>(Spring.getInstance().getHt().loadAll(QReport.class));
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\QReportsList.java:66: warning: [unchecked] unchecked conversion
final LinkedList<QReport> reports = new LinkedList<>(Spring.getInstance().getHt().loadAll(QReport.class));
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\reports\ru\apertum\qsystem\reports\model\QReportsList.java:66: warning: [unchecked] unchecked conversion
final LinkedList<QReport> reports = new LinkedList<>(Spring.getInstance().getHt().loadAll(QReport.class));
required: LinkedList<QReport>
found: LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QPlanServiceList.java:108: warning: [unchecked] unchecked method invocation: method addAll in interface List is applied to given types
return services.addAll(c);
required: Collection<? extends E>
found: Collection
where E is a type-variable:
E extends Object declared in interface List
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QPlanServiceList.java:108: warning: [unchecked] unchecked conversion
return services.addAll(c);
required: Collection<? extends E>
found: Collection
where E is a type-variable:
E extends Object declared in interface List
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QPlanServiceList.java:113: warning: [unchecked] unchecked method invocation: method addAll in interface List is applied to given types
return services.addAll(index, c);
required: int,Collection<? extends E>
found: int,Collection
where E is a type-variable:
E extends Object declared in interface List
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QPlanServiceList.java:113: warning: [unchecked] unchecked conversion
return services.addAll(index, c);
required: Collection<? extends E>
found: Collection
where E is a type-variable:
E extends Object declared in interface List
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QService.java:588: warning: [unchecked] unchecked conversion
final List<QCustomer> custs = Spring.getInstance().getHt().find("FROM QCustomer a WHERE "
required: List<QCustomer>
found: List
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\calendar\QCalendar.java:102: warning: [unchecked] unchecked method invocation: constructor <init> in class LinkedList is applied to given types
return !(new LinkedList<>(Spring.getInstance().getHt().findByCriteria(criteria)).isEmpty());
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\calendar\QCalendar.java:102: warning: [unchecked] unchecked conversion
return !(new LinkedList<>(Spring.getInstance().getHt().findByCriteria(criteria)).isEmpty());
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:538: warning: [unchecked] unchecked call to setListData(E[]) as a member of the raw type JList
listUserService.setListData(new Object[0]);
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:558: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUserService.setModel(user.getPlanServiceList());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:684: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
userServsList.setModel(new DefaultComboBoxModel(usrs.toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:684: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
userServsList.setModel(new DefaultComboBoxModel(usrs.toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:779: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUsers.setModel(QUserList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:780: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listResponse.setModel(QResponseList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:781: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listResults.setModel(QResultList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:784: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listSchedule.setModel(QScheduleList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:785: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listBreaks.setModel(QBreaksList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:786: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listCalendar.setModel(QCalendarList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:787: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listReposts.setModel(QReportsList.getInstance());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:899: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listPostponed.setModel(QPostponedList.getInstance().loadPostponedList(NetCommander.getPostponedPoolInfo(snp)));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:901: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listPostponed.setModel(QPostponedList.getInstance().loadPostponedList(new LinkedList<>()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:1493: warning: [unchecked] unchecked method invocation: method execute in class TransactionTemplate is applied to given types
res = (Exception) Spring.getInstance().getTt().execute(new TransactionCallback() {
required: TransactionCallback<T>
found: <anonymous TransactionCallback>
where T is a type-variable:
T extends Object declared in method <T>execute(TransactionCallback<T>)
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:1493: warning: [unchecked] unchecked conversion
res = (Exception) Spring.getInstance().getTt().execute(new TransactionCallback() {
required: TransactionCallback<T>
found: <anonymous TransactionCallback>
where T is a type-variable:
T extends Object declared in method <T>execute(TransactionCallback<T>)
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:1541: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUserService.setModel(((QUser) listUsers.getSelectedValue()).getPlanServiceList());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:4889: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
listBan.setModel(new DefaultComboBoxModel(NetCommander.getBanedList(new ServerNetProperty()).toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:4889: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listBan.setModel(new DefaultComboBoxModel(NetCommander.getBanedList(new ServerNetProperty()).toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:5833: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
form.comboBoxPager.setModel(new DefaultComboBoxModel(ar));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FAdmin.java:5833: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
form.comboBoxPager.setModel(new DefaultComboBoxModel(ar));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FBreaksChangeDialog.java:85: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
list.setModel(new DefaultComboBoxModel(breaks));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FBreaksChangeDialog.java:85: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
list.setModel(new DefaultComboBoxModel(breaks));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FClient.java:330: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listPostponed.setModel(QPostponedList.getInstance().loadPostponedList(NetCommander.getPostponedPoolInfo(netProperty)));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FClient.java:696: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listPostponed.setModel(QPostponedList.getInstance().loadPostponedList(plan.getPostponedList()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:72: warning: [unchecked] unchecked cast
nodes.add((T) service);
required: T
found: TreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:131: warning: [unchecked] unchecked cast
return (T) super.getRoot();
required: T
found: Object
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:136: warning: [unchecked] unchecked cast
return (T) ((TreeNode) parent).getChildAt(index);
required: T
found: TreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:157: warning: [unchecked] unchecked cast
deleted.add((T) node1);
required: T
found: TreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:159: warning: [unchecked] unchecked cast
deleted.add((T) node);
required: T
found: MutableTreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:210: warning: [unchecked] unchecked cast
T parent = (T) t.getParent();
required: T
found: TreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\ATreeModel.java:218: warning: [unchecked] unchecked cast
parent = (T) parent.getParent();
required: T
found: TreeNode
where T is a type-variable:
T extends ITreeIdGetter declared in class ATreeModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMoveToPostponed.java:52: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
comboBoxPeriod.setModel(new javax.swing.DefaultComboBoxModel(getLocaleMessage("conboBox.periods").split(",")));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMoveToPostponed.java:52: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
comboBoxPeriod.setModel(new javax.swing.DefaultComboBoxModel(getLocaleMessage("conboBox.periods").split(",")));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMoveToPostponed.java:53: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
comboBoxResults.setModel(new javax.swing.DefaultComboBoxModel(results));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMoveToPostponed.java:53: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
comboBoxResults.setModel(new javax.swing.DefaultComboBoxModel(results));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\model\JTreeComboBox.java:80: warning: [unchecked] unchecked call to addItem(E) as a member of the raw type JComboBox
addItem(item);
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FLogin.java:185: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
DefaultComboBoxModel m = new DefaultComboBoxModel(users);
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FLogin.java:186: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
comboBoxUser.setModel(m);
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QUserList.java:39: warning: [unchecked] unchecked method invocation: constructor <init> in class LinkedList is applied to given types
final LinkedList<QUser> users = new LinkedList<>(
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QUserList.java:40: warning: [unchecked] unchecked conversion
Spring.getInstance().getHt().findByCriteria(
required: Collection<? extends E>
found: List
where E is a type-variable:
E extends Object declared in class LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\server\model\QUserList.java:39: warning: [unchecked] unchecked conversion
final LinkedList<QUser> users = new LinkedList<>(
required: LinkedList<QUser>
found: LinkedList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMessager.java:51: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUsers.setModel(users);
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FMessager.java:228: warning: [unchecked] unchecked call to forEach(Consumer<? super T>) as a member of the raw type Stream
listUsers.getSelectedValuesList().stream().forEach((o) -> {
where T is a type-variable:
T extends Object declared in interface Stream
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FParamsEditor.java:110: warning: [unchecked] unchecked call to forEach(Consumer<? super T>) as a member of the raw type Stream
root.elements(Uses.TAG_BOARD_PROP).stream().forEach((o) -> {
where T is a type-variable:
T extends Object declared in interface Stream
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FParamsEditor.java:111: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
addElement(new Param((Element) o));
where E is a type-variable:
E extends Object declared in class DefaultListModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FParamsEditor.java:118: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listProps.setModel(new ParamList(getParams()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:207: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
listServicesForUser.setModel(new DefaultComboBoxModel(user.getPlanServices().toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:207: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listServicesForUser.setModel(new DefaultComboBoxModel(user.getPlanServices().toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:222: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listLine.setModel(new DefaultListModel<>());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:246: warning: [unchecked] unchecked cast
final QUser user = ((DefaultComboBoxModel<QUser>) listUsers.getModel()).getElementAt(i);
required: DefaultComboBoxModel<QUser>
found: ListModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:251: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
listUsersOfService.setModel(new DefaultComboBoxModel(usr.toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:251: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUsersOfService.setModel(new DefaultComboBoxModel(usr.toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:1410: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listPostponed.setModel(QPostponedList.getInstance().loadPostponedList(NetCommander.getPostponedPoolInfo(netProperty)));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:1418: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
listBlack.setModel(new DefaultComboBoxModel(NetCommander.getBanedList(netProperty).toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:1418: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listBlack.setModel(new DefaultComboBoxModel(NetCommander.getBanedList(netProperty).toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:1801: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
listUsers.setModel(new DefaultComboBoxModel(users.toArray()));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:1801: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listUsers.setModel(new DefaultComboBoxModel(users.toArray()));
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:2018: warning: [unchecked] load() in <anonymous ru.apertum.qsystem.client.forms.FReception$19> overrides load() in ATListModel
protected LinkedList load() {
return type requires unchecked conversion from LinkedList to LinkedList<QCustomer>
where T is a type-variable:
T extends IidGetter declared in class ATListModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FReception.java:2027: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listLine.setModel(lm);
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:120: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb1.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:120: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb1.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:121: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb2.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:121: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb2.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:122: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb3.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:122: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb3.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:123: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb4.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:123: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb4.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:124: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb5.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:124: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb5.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:125: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb6.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:125: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb6.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:126: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
cb7.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class DefaultComboBoxModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FScheduleChangeDialod.java:126: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
cb7.setModel(new DefaultComboBoxModel(o));
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServerConfig.java:113: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listServs.setModel(model);
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServerConfig.java:660: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listServs.setModel(listServs.getModel());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServerConfig.java:670: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
((DefaultListModel) (listServs.getModel())).addElement(new SqlServer(inputData, "root", "root", "jdbc:mysql://127.0.0.1/qsystem?autoReconnect=true&characterEncoding=UTF-8", false, false));
where E is a type-variable:
E extends Object declared in class DefaultListModel
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServerConfig.java:678: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listServs.setModel(listServs.getModel());
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServiceChangeDialod.java:82: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
serviceChangeDialod.comboBoxSchedule.setModel(scheduleModel);
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServiceChangeDialod.java:83: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
serviceChangeDialod.comboBoxCalendar.setModel(calendarModel);
where E is a type-variable:
E extends Object declared in class JComboBox
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServiceLangList.java:67: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
serviceLangList.listLng.setModel(new javax.swing.AbstractListModel() {
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServiceLangList.java:212: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listLng.setModel(new javax.swing.AbstractListModel() {
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FServiceLangList.java:284: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
listLng.setModel(new javax.swing.AbstractListModel() {
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FTest.java:747: warning: [unchecked] unchecked call to JList(Vector<? extends E>) as a member of the raw type JList
JList l = new JList(v);
where E is a type-variable:
E extends Object declared in class JList
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FTest.java:752: warning: [unchecked] unchecked call to add(E) as a member of the raw type Vector
v.add("asdasdads");
where E is a type-variable:
E extends Object declared in class Vector
C:\Users\User\Downloads\source-archive\apertum-qsystem\src\ru\apertum\qsystem\client\forms\FTest.java:753: warning: [unchecked] unchecked call to add(E) as a member of the raw type Vector
v.add("123123123");
where E is a type-variable:
E extends Object declared in class Vector
Note: Some input files additionally use unchecked or unsafe operations.
1 error
100 warnings
C:\Users\User\Downloads\source-archive\apertum-qsystem\nbproject\build-impl.xml:1124: The following error occurred while executing this line:
C:\Users\User\Downloads\source-archive\apertum-qsystem\nbproject\build-impl.xml:425: Compile failed; see the compiler error output for details.
СБОРКА ЗАВЕРШЕНА СО СБОЕМ (общее время: 9 секунды)
Note: Some input files additionally use unchecked or unsafe operations.
1 error
100 warnings
Готовая мне не нравится, там много лишнего. Помогите, направьте пожалуйста.