equal
deleted
inserted
replaced
248 if(item.getParent() != null) |
248 if(item.getParent() != null) |
249 { |
249 { |
250 throw new IllegalStateException( |
250 throw new IllegalStateException( |
251 MsgRepository.FORM_EXCEPTION_ITEM_OWNED_BY_CONTAINER); |
251 MsgRepository.FORM_EXCEPTION_ITEM_OWNED_BY_CONTAINER); |
252 } |
252 } |
253 if((position < 0) || (position > (items.size() - 1))) |
253 if ((position < 0) || (position > items.size() )) |
254 { |
254 { |
255 throw new IndexOutOfBoundsException( |
255 throw new IndexOutOfBoundsException( |
256 MsgRepository.FORM_EXCEPTION_INVALID_ITEM_INDEX); |
256 MsgRepository.FORM_EXCEPTION_INVALID_ITEM_INDEX); |
257 } |
257 } |
258 synchronized(layoutPolicy) |
258 synchronized(layoutPolicy) |