mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-5966 Resolved some Eclipse compiler warnings in serializable abstract classes, detected by Eclipse 3.4.
X-SVN-Rev: 24128
This commit is contained in:
parent
ddfebd79a2
commit
8d30278a2a
4 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 1997-2004, International Business Machines Corporation and *
|
||||
* Copyright (C) 1997-2008, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -11,6 +11,7 @@ import java.awt.*;
|
|||
import java.awt.event.*;
|
||||
|
||||
public abstract class DemoApplet extends java.applet.Applet {
|
||||
private static final long serialVersionUID = -8983602961925702071L;
|
||||
private Button demoButton;
|
||||
private Frame demoFrame;
|
||||
private static int demoFrameCount = 0;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2007, International Business Machines Corporation and *
|
||||
* Copyright (C) 2007-2008, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -20,7 +20,9 @@ import com.ibm.icu.util.ULocale;
|
|||
* @provisional This API might change or be removed in a future release.
|
||||
*/
|
||||
public abstract class DurationFormat extends UFormat {
|
||||
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Construct a duration format for the specified locale
|
||||
* @draft ICU 3.8
|
||||
|
|
|
@ -26,6 +26,8 @@ import com.ibm.icu.impl.Grego;
|
|||
*/
|
||||
public abstract class BasicTimeZone extends TimeZone {
|
||||
|
||||
private static final long serialVersionUID = -3204278532246180932L;
|
||||
|
||||
private static final long MILLIS_PER_YEAR = 365*24*60*60*1000L;
|
||||
|
||||
/**
|
||||
|
|
|
@ -21,6 +21,8 @@ import java.util.Date;
|
|||
*/
|
||||
public abstract class TimeZoneRule implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6374143828553768100L;
|
||||
|
||||
private final String name;
|
||||
private final int rawOffset;
|
||||
private final int dstSavings;
|
||||
|
|
Loading…
Add table
Reference in a new issue