.class public Lf2/b;
.super Lu2/b;
.source ""


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lu2/b;-><init>()V

    return-void
.end method


# virtual methods
.method public A(Lw2/i;Ljava/lang/String;Lorg/xml/sax/Attributes;)V
    .registers 7

    const-string p2, "logback.debug"

    invoke-static {p2}, Le/c;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    if-nez p2, :cond_12

    const-string p2, "debug"

    invoke-interface {p3, p2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Lw2/i;->E(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    :cond_12
    invoke-static {p2}, Le/c;->h(Ljava/lang/String;)Z

    move-result v0

    const-string v1, "false"

    if-nez v0, :cond_2f

    invoke-virtual {p2, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2f

    const-string v0, "null"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_29

    goto :goto_2f

    :cond_29
    iget-object p2, p0, Lc3/d;->t:Ln2/e;

    invoke-static {p2}, Ld3/c;->A(Ln2/e;)V

    goto :goto_34

    :cond_2f
    :goto_2f
    const-string p2, "debug attribute not set"

    invoke-virtual {p0, p2}, Lc3/d;->u(Ljava/lang/String;)V

    :goto_34
    const-string p2, "scan"

    .line 1
    invoke-interface {p3, p2}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p1, p2}, Lw2/i;->E(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p2

    invoke-static {p2}, Le/c;->h(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_ac

    invoke-virtual {v1, p2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_ac

    new-instance v0, Ll2/a;

    invoke-direct {v0}, Ll2/a;-><init>()V

    iget-object v1, p0, Lc3/d;->t:Ln2/e;

    invoke-virtual {v0, v1}, Lc3/d;->k(Ln2/e;)V

    const-string v1, "scanPeriod"

    invoke-interface {p3, v1}, Lorg/xml/sax/Attributes;->getValue(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p1, p3}, Lw2/i;->E(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    invoke-static {p3}, Le/c;->h(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_9b

    :try_start_64
    invoke-static {p3}, Lf3/d;->a(Ljava/lang/String;)Lf3/d;

    move-result-object p3

    .line 2
    iget-wide v1, p3, Lf3/d;->a:J

    .line 3
    iput-wide v1, v0, Ll2/a;->w:J

    .line 4
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Setting ReconfigureOnChangeFilter scanning period to "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    invoke-virtual {p0, p3}, Lc3/d;->u(Ljava/lang/String;)V
    :try_end_80
    .catch Ljava/lang/NumberFormatException; {:try_start_64 .. :try_end_80} :catch_81

    goto :goto_9b

    :catch_81
    move-exception p3

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Error while converting ["

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p2, "] to long"

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    invoke-virtual {p0, p2, p3}, Lc3/d;->g(Ljava/lang/String;Ljava/lang/Throwable;)V

    :cond_9b
    :goto_9b
    invoke-virtual {v0}, Ll2/a;->start()V

    iget-object p2, p0, Lc3/d;->t:Ln2/e;

    check-cast p2, Lb2/d;

    const-string p3, "Adding ReconfigureOnChangeFilter as a turbo filter"

    invoke-virtual {p0, p3}, Lc3/d;->u(Ljava/lang/String;)V

    .line 5
    iget-object p2, p2, Lb2/d;->G:Lk2/k;

    invoke-virtual {p2, v0}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z

    .line 6
    :cond_ac
    new-instance p2, Lf3/c;

    iget-object p3, p0, Lc3/d;->t:Ln2/e;

    invoke-direct {p2, p3}, Lf3/c;-><init>(Ln2/e;)V

    .line 7
    iget-object p2, p2, Lc3/d;->t:Ln2/e;

    const-string p3, "HOSTNAME"

    const-string v0, "localhost"

    invoke-interface {p2, p3, v0}, Ln2/e;->o(Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    iget-object p2, p0, Lc3/d;->t:Ln2/e;

    .line 9
    iget-object p1, p1, Lw2/i;->v:Ljava/util/Stack;

    invoke-virtual {p1, p2}, Ljava/util/Stack;->push(Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method public C(Lw2/i;Ljava/lang/String;)V
    .registers 3

    const-string p2, "End of configuration."

    invoke-virtual {p0, p2}, Lc3/d;->u(Ljava/lang/String;)V

    invoke-virtual {p1}, Lw2/i;->D()Ljava/lang/Object;

    return-void
.end method
