~ubuntu-branches/ubuntu/vivid/sablecc/vivid

« back to all changes in this revision

Viewing changes to src/org/sablecc/sablecc/StringCast.java

  • Committer: Bazaar Package Importer
  • Author(s): Etienne M. Gagnon
  • Date: 2004-01-25 13:28:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040125132801-0so74ui506b30b1q
Tags: 2.18.2-1
* New upstream release.
* Keep the org.sablecc.ant.taskdef.Sablecc ant task of the upstream
  package, closes: #213020.
* Improve man page.
* Update Standards-Version to 3.6.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
public class StringCast implements Cast
13
13
{
14
 
    public final static StringCast instance = new StringCast();
15
 
 
16
 
    private StringCast()
17
 
    {
18
 
    }
19
 
 
20
 
    public  Object cast(Object o)
21
 
    {
22
 
        return (String) o;
23
 
    }
 
14
  public final static StringCast instance = new StringCast();
 
15
 
 
16
  private StringCast()
 
17
  {}
 
18
 
 
19
  public  Object cast(Object o)
 
20
  {
 
21
    return (String) o;
 
22
  }
24
23
}
25
24