PIbd-21 Belianin N.N. LabWork07 Hard #10

Closed
Belnik wants to merge 8 commits from LabWork07 into LabWork06
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 5ec534d436 - Show all commits

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<output url="file://$MODULE_DIR$/out/production/Tank" />
<output-test url="file://$MODULE_DIR$/out/test/Tank" />
<exclude-output />

View File

@ -24,7 +24,7 @@ public class SetGeneric <T extends Object> {
public boolean Insert(T tank, int position) {
// Проверка позиции
if (position < 0 || position >= _maxCount)
if (position < 0 || position >= Count())
throw new TankNotFoundException(position);
if (_places.size() >= _maxCount)