Skip to content

Commit 1ff2706

Browse files
committed
Remove unused components
Remove `import Link from 'next/link'` from all pages
1 parent 3a2346d commit 1ff2706

11 files changed

+3
-23
lines changed

src/pages/docs/comments.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: In this tutorial, you will learn about Java comments, why we use t
44
---
55

66

7-
import Link from 'next/link'
87
import { TipInfo } from '@/components/Tip'
98

109

src/pages/docs/expressions-statements-blocks.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ title: Java Expressions, Statements and Blocks
33
description: In this tutorial, you will learn about Java expressions, Java statements, difference between expression and statement, and Java blocks with the help of examples.
44
---
55

6-
7-
import Link from 'next/link'
86
import { TipInfo } from '@/components/Tip'
97

10-
118
In previous chapters, we have used expressions, statements, and blocks without much explaining about them. Now that you know about variables, operators, and literals, it will be easier to understand these concepts.
129

1310
## Java Expressions

src/pages/docs/if-else-statement.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: n this tutorial, you will learn about control flow statements using
55

66

77
import { TipInfo } from '@/components/Tip'
8-
import Link from 'next/link'
98
import NextImage from 'next/image'
109

1110
In programming, we use the `if..else` statement to run a block of code among more than one alternatives.

src/pages/docs/installation.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ title: Installation
33
description: Learn how to get Java up and running in your project.
44
---
55

6-
7-
import Link from 'next/link'
8-
96
## Installation
107

118
Since installation process is slightly different in different devices. So we prefer that you should check the [official installation documentation](https://www.java.com/en/download/help/download_options.html) to install **☕ Java** on your device.

src/pages/docs/introduction.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ title: Introduction
33
description: A guick intro to Java programming language
44
---
55

6-
76
import { List, ListItemGood,ListItemBad } from '@/components/List'
8-
import Link from 'next/link'
7+
98

109
**Java** is a powerful **general-purpose programming language**. It is used to **develop desktop and mobile applications, big data processing, embedded systems**, and so on. According to **Oracle**, the company that owns **Java**, **Java runs on 3 billion devices worldwide**, which makes Java one of the most popular programming languages.
1110

src/pages/docs/jvm-jre-jdk.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Java JDK, JRE and JVM
33
description: Definations of JDK, JRE and JVM
44
---
55

6-
7-
import Link from 'next/link'
86
import NextImage from 'next/image'
97

108

src/pages/docs/operators.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ description: In this tutorial, you'll learn about different types of operators i
44

55
---
66

7-
87
import { TipInfo } from '@/components/Tip'
9-
import Link from 'next/link'
108

119

1210
Operators are symbols that perform operations on variables and values. For example,`+` is an operator used for addition, while `*` is also an operator used for multiplication.

src/pages/docs/variables-and-literals.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ title: Java Variables and Literals
33
description: Variables and Literals in Java
44
---
55

6-
7-
import Link from 'next/link'
86
import { TipInfo } from '@/components/Tip'
97

108

src/pages/docs/variables-primitive-data-types.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ description: In this tutorial, we will learn about all 8 primitive data types in
44

55
---
66

7-
87
import { List, ListItemGood } from '@/components/List'
9-
import Link from 'next/link'
108
import { TipInfo } from '@/components/Tip'
119

10+
1211
## Java Data Types
1312

1413
As the name suggests, data types specify the type of data that can be stored inside [variables in Java](/docs/variables-and-literals).

src/pages/programs/introduction.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ title: Introduction
33
description: A brief introduction to Java Programming.
44
---
55

6-
7-
import Link from 'next/link'
8-
96
## Intro

0 commit comments

Comments
 (0)