Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Logback: the reliable, generic, fast and flexible logging framework. Copyright (C) 1999-2011, QOS.ch. All rights reserved. This program and the accompanying materials are dual-licensed under either the terms of the Eclipse Public License v1.0 as published by the Eclipse Foundation or (per the licensee's choosing) under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation.
package ch.qos.logback.classic.spi;
public class ClassPackagingData implements Serializable {
  private static final long serialVersionUID = -804643281218337001L;
  final String codeLocation;
  final String version;
  private final boolean exact;
  
  public ClassPackagingData(String codeLocationString version) {
    this. = codeLocation;
    this. = version;
    this. = true;
  }
  public ClassPackagingData(String classLocationString versionboolean exact) {
    this. = classLocation;
    this. = version;
    this. = exact;
  }
  
  public String getCodeLocation() {
    return ;
  }
  public String getVersion() {
    return ;
  }
  public boolean isExact() {
    return ;
  }
  public int hashCode() {
    final int PRIME = 31;
    int result = 1;
    result = PRIME * result + (( == null) ? 0 : .hashCode());
    return result;
  }
  public boolean equals(Object obj) {
    if (this == obj)
      return true;
    if (obj == null)
      return false;
    if (getClass() != obj.getClass())
      return false;
    final ClassPackagingData other = (ClassPackagingDataobj;
    if ( == null) {
      if (other.codeLocation != null)
        return false;
    } else if (!.equals(other.codeLocation))
      return false;
    if ( != other.exact)
      return false;
    if ( == null) {
      if (other.version != null)
        return false;
    } else if (!.equals(other.version))
      return false;
    return true;
  }
  
New to GrepCode? Check out our FAQ X