[ 
https://issues.apache.org/jira/browse/OPENJPA-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENJPA-2978.
---------------------------------------
      Assignee: Maxim Solodovnik
    Resolution: Fixed

> Typos, stray semicolon, and validate() masking unsupported
> ----------------------------------------------------------
>
>                 Key: OPENJPA-2978
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2978
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 4.2.0
>            Reporter: Maxim Solodovnik
>            Assignee: Maxim Solodovnik
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Discussion thread: 
> https://github.com/apache/openjpa/pull/144#discussion_r3683004763
> **(medium)** Nits before this freezes: the delegated `BrokerFactory` method 
> names carry the `Strucuture`/`Struture` typos, `truncateData();;` has a 
> double semicolon at line 64, and the `(Exception) ex` cast at line 58 is 
> redundant. Also `validate()` wraps even UnsupportedOperationException from 
> stores that do not implement validation into 
> `SchemaValidationException("Schema could not be validated: null")`, 
> misreporting a missing capability as a validation failure.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to