Skip to content
This repository has been archived by the owner. It is now read-only.

Reformat EVERYTHING #185

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Prev

Non-idempotency

  • Loading branch information
propensive committed May 3, 2016
commit 3ba975fb288166480599a74b3568c0a941c6fc6e
@@ -62,7 +62,7 @@ abstract class AesEncryption {

def decrypt(cipherText: Array[Byte], iv: Array[Byte] = null)(
implicit mode: Mode[`AesEncryption#decrypt`]
): mode.Wrap[Array[Byte], DecryptionException] = mode.wrap {
): mode.Wrap[Array[Byte], DecryptionException] = mode.wrap {
if (iv == null && cipherText.length < 48)
mode.exception(DecryptionException())

@@ -39,7 +39,7 @@ private[css] object CssMacros {
// FIXME: Unify these two implementations
def stylesheetContextMacro(c: BlackboxContext)(
exprs: c.Expr[ForcedConversion[CssStylesheet]]*
): c.Expr[CssStylesheet] = {
): c.Expr[CssStylesheet] = {
import c.universe._
import compatibility._

@@ -58,7 +58,7 @@ trait Applicable[+ChildType,
Child <: ElementType, This <: ElementType, Att <: AttributeType](
element: Element[Child, This, Att],
applied: Applicable[Child, Att, AppliedType]*
): AppliedType[Child, This, Att]
): AppliedType[Child, This, Att]
}

sealed abstract class DomNode[+ChildType <: ElementType,
@@ -72,7 +72,7 @@ sealed abstract class DomNode[+ChildType <: ElementType,
Child <: ElementType, This <: ElementType, Att <: AttributeType](
element: Element[Child, This, Att],
applied: Applicable[Child, Att, AppliedElement]*
): AppliedElement[Child, This, Att] =
): AppliedElement[Child, This, Att] =
AppliedElement[Child, This, Att](
element.tagName,
element.attributes,
@@ -206,7 +206,7 @@ case class Tag[ChildType <: ElementType,
_ <: AttributeType] <: DomNode[_, _, _]](
first: Applicable[ChildType, AttType, AppliedType],
applied: Applicable[ChildType, AttType, AppliedType]*
): AppliedType[ChildType, ThisType, AttType] =
): AppliedType[ChildType, ThisType, AttType] =
first.application(this, (first +: applied): _*)
}

@@ -284,7 +284,7 @@ class Attribute[Elem <: ElementType, AttType <: AttributeType, Value](
Child <: ElementType, This <: ElementType, Att <: AttributeType](
element: Element[Child, This, Att],
applied: Applicable[Child, Att, EmptyElement]*
): EmptyElement[Child, This, Att] = {
): EmptyElement[Child, This, Att] = {

val as = applied
.to[List]
@@ -64,7 +64,7 @@ class NavigableExtras[UrlType : Navigable](url: UrlType) {

def walkFilter(cond: UrlType => Boolean)(
implicit mode: Mode[`Navigable#walkFilter`]
): mode.Wrap[Seq[UrlType], Exception] = mode wrap {
): mode.Wrap[Seq[UrlType], Exception] = mode wrap {
children(modes.throwExceptions()) filter cond flatMap { f =>
new NavigableExtras(f).walkFilter(cond)(modes.throwExceptions())
}
ProTip! Use n and p to navigate between commits in a pull request.