summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-03 14:49:28 +0200
committerNoel Grandin <noel@peralex.com>2013-05-06 11:45:51 +0200
commite527a340051b55a6f05d05f397d82ec797165163 (patch)
tree21e81a60ed0402b0f4e33685917b184b5b1bb32b /embeddedobj
parent587c59fbc931b12f4d63d077a78bcaa43ffbf83d (diff)
Java cleanup, convert more Vector to ArrayList
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/test/Container1/EmbedContApp.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/test/Container1/EmbedContApp.java b/embeddedobj/test/Container1/EmbedContApp.java
index 89dc27cf397f..4481a980dcd0 100644
--- a/embeddedobj/test/Container1/EmbedContApp.java
+++ b/embeddedobj/test/Container1/EmbedContApp.java
@@ -174,7 +174,7 @@ public class EmbedContApp extends Applet
} catch( Exception e ) { System.exit( 0 ); }
m_oActionsNumberLock = new Object();
- m_aActionsList = new Vector();
+ m_aActionsList = new ArrayList();
m_oInHandlerLock = new Object();
m_oImageLock = new Object();
@@ -484,7 +484,7 @@ public class EmbedContApp extends Applet
{
for( int nInd = 0; nInd < m_aActionsList.size(); nInd++ )
{
- ActionObject aAction = ( ActionObject ) m_aActionsList.get( nInd );
+ ActionObject aAction = m_aActionsList.get( nInd );
if ( aAction != null )
{
if ( aAction.m_nID == DESTROY )
@@ -784,7 +784,7 @@ public class EmbedContApp extends Applet
m_aActionsList.add( new ActionObject( nActionID, sParam ) );
else
{
- ActionObject aAction = ( ActionObject ) m_aActionsList.get( nSize - 1 );
+ ActionObject aAction = m_aActionsList.get( nSize - 1 );
if ( aAction != null && aAction.m_nID != DESTROY )
m_aActionsList.add( new ActionObject( nActionID, sParam ) );
}