Skip to content

Commit

Permalink
Deprecated methods removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jun 20, 2024
1 parent 7a6694c commit 7d6e89d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
11 changes: 0 additions & 11 deletions arc-core/src/arc/graphics/g2d/Bloom.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,17 +167,6 @@ public void render(){
buffer.blit(bloomShader);
}

// these typos bother me that much, yes.
@Deprecated
public void setBloomIntesity(float intensity){
setBloomIntensity(intensity);
}

@Deprecated
public void setOriginalIntesity(float intensity){
setOriginalIntensity(intensity);
}

/**
* Set intensity for bloom. Higher means more brightening for spots that are over threshold.
* @param intensity Multiplier for blurred texture in combining phase. Must be positive.
Expand Down
10 changes: 0 additions & 10 deletions arc-core/src/arc/struct/Seq.java
Original file line number Diff line number Diff line change
Expand Up @@ -875,16 +875,6 @@ public Seq<T> retainAll(Boolf<T> predicate){
return removeAll(e -> !predicate.get(e));
}

/**
* Removes everything that does not match this predicate.
* @deprecated This name is misleading, as it modifies the collection!
* If you want a newly allocated Seq, use select. For a direct replacement, use retainAll.
* */
@Deprecated
public Seq<T> filter(Boolf<T> predicate){
return removeAll(e -> !predicate.get(e));
}

public int count(Boolf<T> predicate){
int count = 0;
for(int i = 0; i < size; i++){
Expand Down
11 changes: 0 additions & 11 deletions arc-core/src/arc/util/Http.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ public static class HttpRequest{

/**The content as a stream to be used for a POST for example, to transmit custom data.*/
public InputStream contentStream;
/** @deprecated Unused. */
@Deprecated
public long contentLength;

/**Sets whether 301 and 302 redirects are followed. By default true. Can't be changed in the web backend because this uses
* XmlHttpRequests which always redirect.*/
Expand Down Expand Up @@ -238,14 +235,6 @@ public HttpRequest content(InputStream contentStream){
return this;
}

/** @deprecated The contentLength parameter does nothing. */
@Deprecated
public HttpRequest content(InputStream contentStream, long contentLength){
this.contentStream = contentStream;
this.contentLength = contentLength;
return this;
}

/** Submits this request asynchronously. */
public void submit(ConsT<HttpResponse, Exception> success){
Http.exec.submit(() -> block(success));
Expand Down

0 comments on commit 7d6e89d

Please sign in to comment.