package Ġcom . jak ew h art on . diffuse . report . text Ċ Ċ import Ġcom . jak ew h art on . diffuse . Archive File . Type Ċ import Ġcom . jak ew h art on . diffuse . diff . A ar Diff Ċ import Ġcom . jak ew h art on . diffuse . diff . to Detail Report Ċ import Ġcom . jak ew h art on . diffuse . diff . to Summary Table Ċ import Ġcom . jak ew h art on . diffuse . report . Diff Report Ċ Ċ internal Ġclass ĠA ar Diff Text Report ( private Ġval Ġa ar Diff : ĠA ar Diff ) Ġ: ĠDiff Report Ġ{ ĊĠ Ġoverride Ġfun Ġwrite ( append able : ĠAppend able ) Ġ{ ĊĠĠĠ Ġappend able . apply Ġ{ ĊĠĠĠĠĠ Ġappend (" OLD : Ġ") ĊĠĠĠĠĠ Ġappend ln ( aar Diff . old A ar . filename ) ĊĊĠĠĠĠĠ Ġappend (" NEW : Ġ") ĊĠĠĠĠĠ Ġappend ln ( aar Diff . new A ar . filename ) ĊĊĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠ Ġappend ln ( aar Diff . archive . to Summary Table (" A AR ", ĠType . A AR _ TYPES , ĊĠĠĠĠĠĠĠĠĠ Ġskip If Empty Types Ġ= Ġset Of ( Type . Jar Lib s , ĠType . Api Jar , ĠType . Lint Jar , ĠType . Native , ĠType . Res ))) ĊĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠ Ġappend ln ( aar Diff . j ars . to Summary Table (" JAR ")) ĊĠĠĠĠĠ Ġif Ġ( aar Diff . archive . changed ) Ġ{ ĊĠĠĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ =") ĊĠĠĠĠĠĠĠ Ġappend ln (" ==== ĠĠ ĠA AR ĠĠ Ġ=== =") ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ =") ĊĠĠĠĠĠĠĠ Ġappend ln ( aar Diff . archive . to Detail Report ()) ĊĠĠĠĠĠ Ġ} ĊĠĠĠĠĠ Ġif Ġ( aar Diff . manifest . changed ) Ġ{ ĊĠĠĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ ==== ==" ) ĊĠĠĠĠĠĠĠ Ġappend ln (" ==== ĠĠ ĠMAN IFEST ĠĠ Ġ=== =") ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ ==== ==" ) ĊĠĠĠĠĠĠĠ Ġappend ln ( aar Diff . manifest . to Detail Report ()) ĊĠĠĠĠĠ Ġ} ĊĠĠĠĠĠ Ġif Ġ( aar Diff . j ars . changed ) Ġ{ ĊĠĠĠĠĠĠĠ Ġappend ln () ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ =") ĊĠĠĠĠĠĠĠ Ġappend ln (" ==== ĠĠ ĠJ AR ĠĠ Ġ=== =") ĊĠĠĠĠĠĠĠ Ġappend ln (" ================ =") ĊĠĠĠĠĠĠĠ Ġappend ln ( aar Diff . j ars . to Detail Report ()) ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun ĠtoString () Ġ= Ġbuild String Ġ{ Ġwrite ( this ) Ġ} Ċ } Ċ