Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 132 additions & 0 deletions docs/changelog/8-62-0-Release.md

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/recipes/analysis/java/security/findxxevulnerability.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,22 @@ Please [contact Moderne](https://moderne.io/product) for more information about
## Data Tables

<Tabs groupId="data-tables">
<TabItem value="org.openrewrite.analysis.java.taint.table.TaintFlowTable" label="TaintFlowTable">

### Taint flow
**org.openrewrite.analysis.java.taint.table.TaintFlowTable**

_Records taint flows from sources to sinks with their taint types._

| Column Name | Description |
| ----------- | ----------- |
| Source file | The source file that the method call occurred in. |
| Source | The source code where taint originates. |
| Sink | The sink code where taint flows to. |
| Taint type | The taint type that matched at the sink. |

</TabItem>

<TabItem value="org.openrewrite.table.SourcesFileResults" label="SourcesFileResults">

### Source files that had results
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/apache/httpclient5/newrequestline.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem';

**org.openrewrite.apache.httpclient5.NewRequestLine**

_`HttpRequestBase::getStatusLine()` was removed in 5.x when `HttpRequestBase` was migrated to `HttpUriRequestBase`, so we replace it with `new RequestLine(HttpRequest)`. Ideally we will try to simply method chains for `getMethod`, `getUri` and `getProtocolVersion`, but there are some scenarios where `RequestLine` object is assigned or used directly, and we need to instantiate the object._
_`HttpRequestBase::getStatusLine()` was deprecated in 4.x, so we replace it with `new RequestLine(HttpRequest)`. Ideally we will try to simply method chains for `getMethod`, `getUri` and `getProtocolVersion`, but there are some scenarios where `RequestLine` object is assigned or used directly, and we need to instantiate the object._

## Recipe source

Expand Down
12 changes: 6 additions & 6 deletions docs/recipes/apache/httpclient5/statusline.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ This recipe is available under the [Moderne Source Available License](https://do
<Tabs groupId="recipeType">
<TabItem value="recipe-list" label="Recipe List" >
* [Simplify a call chain](../../java/simplifymethodchain)
* methodPatternChain: `[org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getStatusCode()]`
* methodPatternChain: `[org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getStatusCode()]`
* newMethodName: `getCode`
* [Simplify a call chain](../../java/simplifymethodchain)
* methodPatternChain: `[org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getReasonPhrase()]`
* methodPatternChain: `[org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getReasonPhrase()]`
* newMethodName: `getReasonPhrase`
* [Simplify a call chain](../../java/simplifymethodchain)
* methodPatternChain: `[org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()]`
* methodPatternChain: `[org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getProtocolVersion()]`
* newMethodName: `getVersion`
* [Replaces deprecated `HttpResponse::getStatusLine()`](../../apache/httpclient5/newstatusline)
* [Replaces deprecated `HttpRequestBase::getRequestLine()`](../../apache/httpclient5/newrequestline)
Expand All @@ -53,13 +53,13 @@ description: |
Migrates deprecated methods to their equivalent ones in 5.x
recipeList:
- org.openrewrite.java.SimplifyMethodChain:
methodPatternChain: [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getStatusCode()]
methodPatternChain: [org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getStatusCode()]
newMethodName: getCode
- org.openrewrite.java.SimplifyMethodChain:
methodPatternChain: [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getReasonPhrase()]
methodPatternChain: [org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getReasonPhrase()]
newMethodName: getReasonPhrase
- org.openrewrite.java.SimplifyMethodChain:
methodPatternChain: [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()]
methodPatternChain: [org.apache.http.HttpResponse getStatusLine(), org.apache.http.StatusLine getProtocolVersion()]
newMethodName: getVersion
- org.openrewrite.apache.httpclient5.NewStatusLine
- org.openrewrite.apache.httpclient5.NewRequestLine
Expand Down
Loading
Loading