Compare commits

..

No commits in common. "9d5dc90f13325c40672f9aa333489c2e46a5c51d" and "297475c28a416374e541d970cef873d5e9a157f4" have entirely different histories.

7 changed files with 9 additions and 11 deletions

View file

@ -2,11 +2,11 @@
<library name="bld"> <library name="bld">
<CLASSES> <CLASSES>
<root url="file://$PROJECT_DIR$/lib/bld" /> <root url="file://$PROJECT_DIR$/lib/bld" />
<root url="jar://$USER_HOME$/.bld/dist/bld-1.7.5.jar!/" /> <root url="jar://$USER_HOME$/.bld/dist/bld-1.7.0.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES> <SOURCES>
<root url="jar://$USER_HOME$/.bld/dist/bld-1.7.5-sources.jar!/" /> <root url="jar://$USER_HOME$/.bld/dist/bld-1.7.0-sources.jar!/" />
</SOURCES> </SOURCES>
<excluded> <excluded>
<root url="jar://$PROJECT_DIR$/lib/bld/bld-wrapper.jar!/" /> <root url="jar://$PROJECT_DIR$/lib/bld/bld-wrapper.jar!/" />

1
.idea/misc.xml generated
View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="PDMPlugin"> <component name="PDMPlugin">
<option name="skipTestSources" value="false" /> <option name="skipTestSources" value="false" />

View file

@ -99,7 +99,7 @@ java -jar lib/build/libs/urlencoder-*.jar -d "a%20test%20%26" # -> a test &
## Why not simply use `java.net.URLEncoder`? ## Why not simply use `java.net.URLEncoder`?
Apart for being quite inefficient, some URL components encoded with `URLEncoder.encode` might not be able to be properly decoded. Apart for being quite inefficient and [deprecated](https://inside.java/2023/02/15/quality-heads-up/) as of JDK 20, some URL components encoded with `URLEncoder.encode` might not be able to be properly decoded.
For example, a simply search query such as: For example, a simply search query such as:

Binary file not shown.

View file

@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-tests-badge:1.4.5 bld.extensions=com.uwyn.rife2:bld-tests-badge:1.4.0
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES
bld.downloadLocation= bld.downloadLocation=
bld.version=1.7.5 bld.version=1.7.0

View file

@ -19,7 +19,7 @@ public class UrlEncoderBuild extends Project {
pkg = "com.uwyn.urlencoder"; pkg = "com.uwyn.urlencoder";
name = "UrlEncoder"; name = "UrlEncoder";
mainClass = "com.uwyn.urlencoder.UrlEncoder"; mainClass = "com.uwyn.urlencoder.UrlEncoder";
version = version(1,3,5); version = version(1,3,4);
javaRelease = 11; javaRelease = 11;
downloadSources = true; downloadSources = true;
@ -27,8 +27,8 @@ public class UrlEncoderBuild extends Project {
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES); repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
scope(test) scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5,10,1))) .include(dependency("org.junit.jupiter", "junit-jupiter", version(5,9,3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1,10,1))); .include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1,9,3)));
jarOperation() jarOperation()
.manifestAttribute(Attributes.Name.MAIN_CLASS, mainClass()); .manifestAttribute(Attributes.Name.MAIN_CLASS, mainClass());

View file

@ -1,3 +0,0 @@
module com.uwyn.urlencoder {
exports com.uwyn.urlencoder;
}